What version of KiXtart are you running?

Please read the Kixtart Manual for correct IF-ELSE-ENDIF syntax as all your ENDIFs are missing.

By default, '$' characters in strings need to be doubled up, this is documented i nthe KIXtart Manual, page 25.
_________________________
There are two types of vessels, submarines and targets.