|
![](/i/fill.gif) |
"Sven Littkowski" <sve### [at] jamaica-focus com> wrote:
> #if(Sign!="")
The problem is not the macro. It's that #if expects numericals and does not
accept strings. Try using the strcmp() function which compares strings:
#if (strcmp(Sign,"")!=0) //TRUE if (Sign != ""), strcmp()returns 0 if
both strings are equal
> #if(SignWhere="A")
> #if(SignWhere="B")
You're also going to have to fix this. You pass a number for SignWhere, but
try to use it as a string. Choose which you want and modify accordingly.
> Exit("A",0,+70,< 0.0, 090.0, 0.0 >,< -0.0, 1.5, 3.85 >) // Exits
-tgq
Post a reply to this message
|
![](/i/fill.gif) |