2016-06-01 09:57 AM
2016-06-02 03:28 PM
IF (licencekey=key1 OR licencekey=key2) THEN GOSUB "program" ENDIF IF (licencekey<>key1 AND licencekey<>key2) THEN GOSUB "token" ENDIFOr:
IF (licencekey=key1 OR licencekey=key2) THEN GOSUB "program" ELSE GOSUB "token" ENDIFYou should check the GDL Reference Guide for correct syntax.
2016-06-03 10:05 AM
2016-06-04 12:44 PM
Token="0001"This way the variable Token will be a Text, just like that value you read from the Text file.
licencekey="" key1="" key2=""or a number by:
licencekey=0 key1=0 key2=0at the beginning of the script.