Re: Quoted substitution
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Quoted substitution

From: Ian Bell <ruffrecords@yahoo.com>
Date: Sat Dec 17 2005 - 16:53:27 CET

Cameron Laird wrote:

> .
> Be aware, moreover, of this example:
>
> % set a 33
> 33
> % puts $a
> 33
> % puts ${a}
> 33

I think I am happy with that. The puts ${a} is parsed a a variable
substitution of the kind ${name} where name can have any character except
braces. Just so happens the variable name has no characters not in the
reduced set allowed by $name.

Correct?

Ian
Received on Fri Dec 23 19:01:53 2005