I've kept the quotes. No, TS doesn't expand values. 

On Thursday 07 June 2001 12:02, Ian Bicking wrote:
> Chuck Esterbrook <[EMAIL PROTECTED]> wrote:
> > But, yes, we can do without quotes. After all, $foo
> > doesn't even expand with quotes unless $foo really
> > contains them.
>
> TS doesn't -- I don't think, at least shouldn't --
> "expand" values. That way lies sh and m4, and those are
> scary.
>
> $foo *evaluates* to "file.txt", just like "file.txt"
> evaluates to "file.txt" -- that is, the textual
> representation is one thing, the internal representation
> is another.  "file.txt" is a textual representation of
> the string "file.txt".  $foo is a reference to the string
> "file.txt".

Exactly.  This should be pointed out in the docs.

file.txt
====================================
blarg blarg blarg
====================================

foo = 'file.txt'
#include $foo 
will include 'file.txt'

#include 'file.txt'
will include
blarg blarg blarg

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to