![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Tony Gravagno wrote: "Mike Preece" wrote: What was that film? Huh? It was on again today. I'm sure we've done this before - even though I can't find the previous thread in the archives with a google search. It went on with your question/challenge and culminated with you suggesting an alternative work-around - a better one, actually - although WhatHaveIGot did work. Mike. |
#12
| |||
| |||
|
|
as my D3 box is on a ship somewhere between Aus and the UK. Mike. |

#13
| |||
| |||
|
|
Hi Any empty file "MyDummyFile" should be present. In PickBasic * mvar is variable for test tmpmvar=mvar open "MyDummyFile" to tmpFileVar close tmpFileVar dummyFOFId=oconv("","u90") close tmpmvar mvarIsFileVar=0 IF dummyFOFId # oconv("","u90") THEN mvarIsFileVar=1 |
#14
| |||
| |||
|
#15
| |||
| |||
|
|
Additional description. This method based on CLOSE feature (tested on D3 linux). "Close" can work with string and andefined variables without error. In this case it is enough make a copy of variable and then use Close and oconv("","u90") * TestVarIsFileVar(mvar , remvarIsFileVar) tmpmvar=mvar open "MyDummyFile" to tmpFileVar close tmpFileVar dummyFOFId=oconv("","u90") close tmpmvar mvarIsFileVar=0 IF dummyFOFId # oconv("","u90") THEN mvarIsFileVar=1 *return Regards, Grigory |
![]() |
| Thread Tools | |
| Display Modes | |
| |