HP 3000 Manuals

func strmax [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func strmax 

String maximum.  Returns the (constant) maximum size of a string.

Syntax 

     strmax (source)

Formal Declaration 

     strmax:u32 (source:str)

Parameters 

 source          Any string literal or variable.  The result of this
                 function is a constant.  All strings have the same
                 maximum length.

Examples 

     $nmdebug > wl strmax("date"):"#" 
     #2048

     $cmdat > = strmax(""),d 
     #2048

Limitations, Restrictions 

The maximum number of characters in a string currently is 2048.



MPE/iX 5.0 Documentation