Echelon Neuron Manual de usuario Pagina 151

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 237
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 150
ERROR (Conditional Assembly)
The ERROR directive causes the Neuron Assembler to display a user-defined
error message. This error leads to an assembly failure, and is counted in the
overall assembly statistics.
This directive is useful for managing and validating conditional compilation.
This directive is only available with the IzoT NodeBuilder FX Development Tool
(and later versions).
Syntax:
The ERROR directive requires a quoted string as its argument, and cannot have
a label.
ERROR “string
Example:
The following example stops compilation for the current file and displays a
message when neither the AAA nor the BBB conditional compilation symbols are
defined:
IFDEF AAA
ELSE
IFDEF BBB
ELSE
ERROR “You must define either AAA or BBB”
ENDIF
ENDIF
Neuron Assembly Language Reference 141
Vista de pagina 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 236 237

Comentarios a estos manuales

Sin comentarios