Forum Membership - support@scriptbasic.org
Jade isn't BASIC.
undef?
AIR, often one needs to know if there is no occurrence of the substring, how does your instr function handle that?
If you try this, you will see that it returns a '-1'.
Quote from: AIR on January 08, 2019, 04:15:37 PMJade isn't BASIC. Probably not but your casual and definitive "Jade is using a "0" based index" raised questions immediately from at least three BASIC-ers. Doesn't that ring the bell?
But not for people using other languages.
A$ = ""IF MID(A$,69,3) = "AIR" THEN
Code: [Select]A$ = ""IF MID(A$,69,3) = "AIR" THENTRUE in JADE returning -1.
Quote from: AIR on January 08, 2019, 05:05:02 PM But not for people using other languages.Armando, you telling this to me?! There's been nothing else but C/C++ for me to code in for decades!