You can't. Also why are you using ti-basic for a security program? It can be defeated by just pressing the on key.
Tibasic can be converted into app by a program, and then the encrypted authorization code can be added to the head of the program to achieve the effect of encryption. App can not be compiled. Look at the program I passed in. This program is used to get the machine ID, but there is only a slight error when it runs