Re: Using hash symbol (#) in a variable

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
On Saturday 18 July 2009, cliffnotes wrote:
> It would be nice to support 1 non-alphanumeric character to
> allow us to allow us a hook for our tool to do some advanced
> things. It can be an "@" or "|" or whatever, but "#" is a
> character that I believe I have seen in the past used legally
> in several simulators. Can you enhance the simulator to allow
> "#" to be legal within the device name, net name, or param
> name?

Those symbols do work in device names and net names.

There is an issue with param names because of param expressions.  
Those characters can have meanings of their own in expressions.  
For example "foo|bar" .. is likely to mean "foo or bar".

Param expressions are known to have issues.  Fixing it, or even 
documenting it properly, requires further study.  I think any 
problems there will come out as testing and debugging of 
expressions is completed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.