Having a brain fart.
What is the compiler directive to display a message and stop compilation? Google is not my friend today. Can't seem to find it.
On a related noted does anyone have a list of the compiler directives lape supports?
Having a brain fart.
What is the compiler directive to display a message and stop compilation? Google is not my friend today. Can't seem to find it.
On a related noted does anyone have a list of the compiler directives lape supports?
Never ever approach a computer saying or even thinking "I will just do this quickly".
https://villavu.com/forum/showthread...101#post854101
All compiler directives for lape are at the bottom of that post.
Didn't see what I needed in there but thanks anyway. I'm trying to do something like this:
I may be mis-remembering and this was only available back in the days of using SRL with SCAR. I'll re-read that thread more carefully, but I didn't see it in there.Code:{$IFNDEF something} {$WHAT_IS_THE_NAME_OF_THIS_COMPILER_DIRECTIVE 'This is an error message. Compiling aborted.'} {$ENDIF}
Never ever approach a computer saying or even thinking "I will just do this quickly".
If you want it to stop compiling, why not just put a line with invalid syntax there?
Code:{$IFNDEF something} This is an error message. Compiling aborted. //compile fails due to unknown identifiers {$ENDIF}
There are currently 1 users browsing this thread. (0 members and 1 guests)