Echelon Neuron C User Manual

Page 242

Advertising
background image

222

Syntax Summary

Primary Expressions, Built-in Variables, and Built-in
Functions

In addition to the ANSI C definitions of a primary expression, Neuron C adds

some built-in variables and built-in functions. Neuron C removes

float-constant

from the standard list of primary expressions.

primary-expr

:

parenthesized-expr

integer-constant

concatenated-string-constant

variable-identifier

property-reference

builtin-variables

builtin-functions

actual-parameters

msg-call-kwd

( )


concatenated-string-constant

:

concatenated-string-constant

string-constant

string-constant

property-reference

:

[

postfix-expr

] ::

variable-identifier

postfix-expr

:: director

actual-parameters

postfix-expr

:: global_index

postfix-expr

:: nv_len


builtin-variables

:

one

of

activate_service_led

config_data

cp_modifiable_value_file

cp_modifiable_value_file_len

cp_readonly_value_file

cp_readonly_value_file_len

cp_template_file | cp_template_file_len

fblock_index_map

input_is_new | input_value

msg_tag_index

nv_array_index | nv_in_addr | nv_in_index

read_only_data | read_only_data_2

msg-name-kwd

.

variable-identifier

msg-name-kwd

:

one

of

msg_in | msg_out | resp_in | resp_out

builtin-functions

:

one

of abs | addr_table_index

bcd2bin | bin2bcd

Advertising