Jump to content

Futurebasic/Language/Reference/compile shutdown

From Wikibooks, open books for an open world

COMPILE SHUTDOWN statement

[edit | edit source]

COMPILE SHUTDOWN

[edit | edit source]

Statement

[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax

[edit | edit source]

COMPILE SHUTDOWN "Optional Quoted Remark"

Description

[edit | edit source]

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

[edit | edit source]

COMPILE LONG IF cpuPPC
  COMPILE SHUTDOWN "This won't work in PPC."
COMPILE XELSE
  `     move.l   d0,-(SP) COMPILE END IF