Hi, its been a while since I don't make new forums because of problems while debugging on SmileBASIC.
Its giving me a syntax error on line 38 of my program (after using the "EXEC" command and specifying what file and what type of file to load, it checks if it exists.), however, the program appears to refuse to check if the file exists or its not corrupted.
This is my code:
IF CHKFILE(PROGRAM$)==TRUE THEN EXEC "PRG1:",PROGRAM$ ELSE PRINT "File not found... Please check if specified file exists or check if it isnt corrupted.":GOTO @MAINNotes: The variable PROGRAM$ is supposed to store the specified program to load. I'm actually not sure if the variable should go with the semicolon before it.