Tuesday, December 2, 2008

Names and keywords used in occam programs

Names used in occam programs must begin with an alphabetic character. Names consist of a sequence ofalpha numeric characters and dots. There is no length restriction. occam is sensitive to the case of names, i.e. Say is considered different from say. With the exception of the names of channel protocols, names in the examples presented in this manual are all lower case. However, the following are all valid names in
occam:
PACKETS
vector6
LinkOut
NOT.A.NUMBER
transputer
terminal.in
terminalOut

All keywords are upper case (e.g. SEQ). All keywords are reserved, and thus may not be used by the programmer.

No comments:


Find It