> Dave Walker wrote:

> > In terms of using quotes around the filename, I get into the habit of doing
> > this as it allows for characters that would not be valid if used without
> > quotes. 

If you put quotes around the file names etc in S*Basic you are effectively 
defining a string variable. If you leave the quotes off, it becomes a NAME and 
goes into the name list.

This can lead to problems if you ever want to change the letter case of a file, 
for example, and don't use quotes. The name version will be used and give you 
back the original capitalisation.

You can see this beautifully in a S*Basic listing :

DEF PROC ABCdef
 ...
END DEF abcdef

At the END DEF, the 'abcdef' will be changed to 'ABCdef'.

(I think the above is correct - my organic RAM is failing these days !)


Norman.

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to