ONC+ Developer's Guide

RPCL Constants

You can use XDR symbolic constants wherever an integer constant is used. A typical use might be in array size specifications:

   const-definition:
   const const-ident = integer 

The following example defines a constant, DOZEN, as equal to 12.

const DOZEN = 12; --> #define DOZEN 12