Echelon Neuron C User Manual

Page 5

Advertising
background image

Neuron C Reference Guide

v

Typeface or Symbol

Used for

Example

italic type

abstract

elements

identifier

[square brackets]

optional fields

[

bind-info

]

| vertical bar

a choice between two

elements

input | output

Example: The syntax for declaring a network variable is:

network input | output [

netvar modifier

]

[

class

]

type

[

bind-info

]

identifier

• You type the keywords network, input, and output as shown

• You replace the abstract elements

netvar modifier

,

class

,

type

,

bind-info

,

and

identifier

with the actual modifier, class, type, bind information, and

identifier for the network variable

• The declaration must include either input or output, but not both

• The elements

netvar modifier

,

class

, and

bind-info

are all optional

When a particular element or expression includes punctuation, such as quotation

marks, parentheses, and semicolons (but not including square brackets and
vertical bars), you must type that punctuation as shown.

Code examples appear in the monospace Courier font:

#include <mem.h>

unsigned array1[40], array2[40];

// See if array1 matches array2
if (memcmp(array1, array2, 40) != 0) {

// The contents of the two areas do not match

}

Advertising