On 10/06/16, Gryphon said the following...
I don't think pos() works like that. Pos() returns an integer, not a boolean.
var num,x: integer=0;
x:=pos('island',lower(str))
if x > 0 then num:=11
yes it does. i got it to work oddly after i posted this..
ok :=pos('island',lower(str)) <> 0;
if ok then num := 11;
in var
ok : boolean = false;
i am gonna change it to the word so
island : boolean = false;
island :=pos('island',lower(str)) <> 0;
if island then num :=11;
|08 .|05ú|13ù|15Dr|07e|08am Ma|07st|15er|13ù|05ú|08.
|08 øù|05ú|13ùø |13øù|05ú|08ùø
|11 DoRE|03!|11ACiDiC|03!|11Demonic |08[|15dreamland|09.|15darktech|09.|15org|08]
--- Mystic BBS v1.12 A31 (Windows)
* Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)