Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect running from IDE
#2
This is 100% guaranteed to work:

Code: (Select All)
$DEBUG
test$ = ENVIRON$("QB64DEBUGPORT")
IF test$ = "" THEN PRINT "running independently" ELSE PRINT "running from inside the IDE"

Unless, of course, you have manually set QB64DEBUGPORT in your environment for whatever obscure reason.
Reply


Messages In This Thread
Detect running from IDE - by mdijkens - 02-11-2024, 09:19 AM
RE: Detect running from IDE - by FellippeHeitor - 02-12-2024, 02:59 AM



Users browsing this thread: 1 Guest(s)