 |
Hemdall Wanderer
Joined: 30 Nov 2006 Posts: 50
|
Posted: Fri Jan 12, 2007 11:59 am
Using %defined. |
Ola.
I wanna check is defined macro F11, I tried use #sh %defined(F11) but it not works. Any suggestions? |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Hemdall Wanderer
Joined: 30 Nov 2006 Posts: 50
|
Posted: Fri Jan 12, 2007 5:24 pm |
defined
Syntax: %defined(s)
returns true if s is a defined alias, variable, macro, or path.
Example:
#VAR a {}
#VAR b { }
#UNVAR c
#SHOW a:%defined(a) b:%defined(b) c:%defined(c)
Displays:
a:1 b:1 c:0 |
|
|
 |
|
|