Just an info to round this up.
Wakefreak stated, that if he misspelled a functionname it would result in a syntax error.
That is not correct. If the (Bad) functionname is inbedded in an if-statement, the functionname is translated to not-empty=true by the if-statement
Try running this code:
code:
if BadFuncName("c:\winnt\system")
endif
?
if BadFuncName("c:\winnt\system") & 16
endif
?
if BadFuncName(16 + "c:\winnt\system") & 16
endif
get $x
If you are using build 81 of KiXtart
This code wil produce these lines:
c:\winnt\system
0
16
To my knowledge build 81 is stil beta, i use it on my own ws, i wouldn't dream of implementing it on the net before Ruud says go.
Anyway, i beleive it is in the nature of KiX 4?? that an if-statement will disguise a misspelled functionname (evaluate it as true)
-Erik