 |
Zwartje Novice
Joined: 08 Feb 2007 Posts: 45
|
Posted: Thu Feb 08, 2007 3:17 pm
Question on alias names |
In zmud I had a few aliases with names starting with - or = (e.g -su =ke)
It seems i cannot name aliases in Cmud that way, which is rather annoying as I am used to these aliases for years now.
I can create them in the package editor no problem, but when I type =ke in the command line, the alias seems unknown ('I do not follow your meaning')
Any ideas? |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Feb 08, 2007 3:25 pm |
Confirmed, just about every non-alphanumeric character doesn't work.
|
|
|
 |
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Thu Feb 08, 2007 4:48 pm |
Somewhere Zugg mentions this but I don't remember what his plans were for the future.
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Feb 08, 2007 7:44 pm |
TMany are now special characters which are reserved for use by the parser (-+*/=) to name a few. Because the new parser is stricter on syntax these will not be available for alias names. If I recall correctly there were no plans to change this but Zugg will correct me if I'm wrong.
|
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Feb 08, 2007 8:47 pm |
Part of this is a bug. I *did* add support for aliases that start with non-alphabetic characters. You can only define them within the Package Editor by editing the alias name (cannot use the #ALIAS command to create wierd alias names). Also, these wierd aliases can only be used on the command line, and not within other scripts.
However, when I tried this, it seems to be broken in the current version.
Officially, it is not recommended that you use non-alphabetic characters at the beginning of the alias name. And these "wierd" aliases will never be supported within other scripts...they will only work from the command line. |
|
|
 |
|
|