02-12-2024, 02:59 AM
(This post was last modified: 02-12-2024, 03:09 AM by FellippeHeitor.)
This is 100% guaranteed to work:
Unless, of course, you have manually set QB64DEBUGPORT in your environment for whatever obscure reason.
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.