Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Reference Manual cbold_logo_gif

<<< Previous CBOLD Reference Home Next >>>

 

6.2. Registering Macros

The user typically registers members by using one of the following macros:

Macro Description
reg( aName ) registers a single member with a simple designator (no Number)
regn( aName, aNumber ) registers a single element of an array member with a full designator (string + Number) (rarely used)
rega( aName, aCount ) registers each element of an array member
regb( aName, aL, aR ) registers a bus port (with left and right range) with a simple designator
regab( aName, aCount, aL, aR ) registers each element of an array of bus ports (with left and right range)

These macros are simply convenient shorthand for calls to the containing TModPar's Reg() function. The user may also call Reg() directly, though there is rarely reason to do so.

For more or regn(), see Registering Array Members.

 

<<< Previous CBOLD Reference Home Next >>>

Legal Copyright © 2007 by Coolquest, Inc. Contact