General information
Category:
Coding, syntax & commands
I put double quotes around fully a qualified name with
spaces in the path, of course. But it appears that
many (all?) of the file- or skeleton-related
VFP commands produce the same result, with
or without the quotes, e.g.,
x = "\Program Files\MyFileName"
y = ' "\Program Files\MyFileName" '
FILE(x) = .T.
FILE(y) = .T.
When storing such values in a memvar,
I've been including the double quotes,
just to be sure. But what's the rule of
thumb here? Are there any commands that are
gotchas? (I've noticed, for example,
that, with the above, ADDBS(y) produces
a result with no quotes.) Am I always
safe without quotes in a name expression?
TIA,
-m.
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