411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/compile shutdown
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
COMPILE SHUTDOWN statement
COMPILE SHUTDOWN
Statement
✔ Appearance ✔ Standard ✔ Console
Syntax
COMPILE SHUTDOWN "Optional Quoted Remark"
Description
You may have some code that is specifically designed for one platform or another. For instance, 68K assembly cannot be compiled into a PPC application. In such cases, COMPILE SHUTDOWN would abort the compile process with an error and show the offending line complete with the optional quoted remark.
Example
<code>COMPILE LONG IF cpuPPC
COMPILE SHUTDOWN "This won't work in PPC."
COMPILE XELSE
` move.l d0,-(SP)
COMPILE END IF</code>