Would anyone know why my HTBASIC accepts the 1st SUB routine just below and not the 2nd bottom one?
1st.————————————————–
Mysub: !
PRINT “Hello from Mysub”
RETURN
2nd.—————————————————
SUB Mysub
PRINT “Hello from Mysub”
RETURN
END SUB
Basically it wont accept SUB Mysub, it tells me that there is invalid statements in the program however, it will recognize a variation of the END statement, instead of END SUB, it accepts SUBEND.
Thank you for your help.
-
This topic was modified 5 months, 2 weeks ago by JSOTO211.