Yesterday, 06:52 PM
(This post was last modified: Yesterday, 07:40 PM by Kernelpanic.)
(12-27-2024, 07:20 PM)Pete Wrote:I don't find it strange, but rather logical. At the "End" the program ends and everything after that is ignored.Code: (Select All)Print "Why, for example, is this undefined sub call allowed in an 'End' statement?"
Print "End 123, End a = 1, etc. are also allowed if you want to check into that, too."
End MenuOpen ' Program will terminate here.
System
Just a curiosity.
Pete
Manual: End terminated the program and closed all open Files.
Code: (Select All)
Print "Why, for example, is this undefined sub call allowed in an 'End' statement?"
Print "End 123, End a = 1, etc. are also allowed if you want to check into that, too."
End MenuOpen ' Program will terminate here.
Print "Ende!"
Sleep 2
System
PS: How do one get to 123?
Code: (Select All)
returncode = Shell("notepad.exe")
Print returncode