Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jan 17, 2007 10:33 pm |
When you issue the command #class test|nested, you are not only creating that class, but you are setting it as the *current* class.
So, doing #VAR test %1 is going to create /test/nested/test just like it did. That is the correct operation. Try using #CLASS 0 to return to the top level class before running your alias.
The ./ syntax refers to the *current* class. So doing ./nested/test3 is expanded to /test/nested/nested/test3 which is referencing a class that doesn't exist (so test3 isn't created). Remember that /test/nested is your current class!
If you want to perform relative access, use the ../ syntax to refer to the parent of the current class. Works just like unix file names. You just need to remember what the current class is set to. |
|