HP-UX SNAplus2 R7 LUA Programmer's Guide

Designing and Writing LUA Applications
Writing Portable Applications
Use the symbolic constant names for parameter values and return codes, not the numeric values shown in the
header le; this ensures that the correct value will be used regardless of the way these values are stored in
memory.
When accessing SNA sense codes in a data buffer, use the symbolic constants rather than the numeric values;
this ensures that the byte storage order will be correct for your particular system.
Include a check for return codes other than those applicable to your current operating system (for example using
a default case in a switch statement), and provide appropriate diagnostics.
Ensure that any parameters shown as reserved are set to
0 (zero).
Set the lua_verb_length parameter as described in Chapter 4, RUI Verbs or Chapter 5, SLI Verbs..
52