General information
Category:
Coding, syntax & commands
Daniel,
Should "SET('DEFAULT')" return the complete path specified in a SET DEFAULT command or not?
Seems to me that it should, and that this is a bug.
cheers
>Claude,
>Try FULLPATH("") or SYS(5) + CURDIR() instead.
>
>>I an not sure if I do not understand the set default command or if this is a bug.
>>
>>I determine the default directory and assign it to a variable, i.e
>> m.gcDefDir = SUBSTR(SYS(16,0),1,RAT('\',SYS(16,0)))
>> i.e 'c:\defdir'
>>Then I a set the default directory using the command
>> set default to m.gcDefDir
>>The command
>> ? set("default)
>>returns "C:" instead of "c:\defdir". Is that correct? If not what am I doing wrong?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only