Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hey guys, riddle me this...
#8
(12-27-2024, 07:20 PM)Pete Wrote:
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
I don't find it strange, but rather logical. At the "End" the program ends and everything after that is ignored.
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
Reply


Messages In This Thread
Hey guys, riddle me this... - by Pete - 12-27-2024, 07:20 PM
RE: Hey guys, riddle me this... - by DSMan195276 - 12-27-2024, 07:26 PM
RE: Hey guys, riddle me this... - by SMcNeill - 12-27-2024, 07:28 PM
RE: Hey guys, riddle me this... - by Pete - 12-27-2024, 08:47 PM
RE: Hey guys, riddle me this... - by Pete - 12-27-2024, 09:18 PM
RE: Hey guys, riddle me this... - by Pete - Yesterday, 05:41 AM
RE: Hey guys, riddle me this... - by Kernelpanic - Yesterday, 06:52 PM



Users browsing this thread: 2 Guest(s)