WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: tsgjersey on August 11, 2022, 10:18:01 AM

Title: Detect if running in compiled script
Post by: tsgjersey on August 11, 2022, 10:18:01 AM
Hi

Is it possible to use a conditional to execute code only if it is in the compiled script and not in the debug / interpreter?

Thanks
Title: Re: Detect if running in compiled script
Post by: td on August 11, 2022, 11:05:44 AM
The Consolidated WIL Help file is your friend. Check out the RtStatus function.
Title: Re: Detect if running in compiled script
Post by: tsgjersey on August 12, 2022, 12:53:34 AM
Thanks for your help. The help is really great and I have been using it to learn WIL.