HPlogo NetIPC 3000/XL Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 NetIPC Intrinsics

INITOPT

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Initializes the opt parameter so that entries may be added.

Syntax

INITOPT  (opt,eventualentries,[result]) 

Parameters

opt (output)

Record or byte array, by reference. The opt parameter which is to be initialized. Refer to "Common Parameters" for more information on the structure of this parameter.

eventualentries (input)

16-bit integer, by value. The number of option entries that are to be placed in the opt parameter.

result (output)

16-bit integer, by reference. The error code returned; zero if no error.

Description

The INITOPT intrinsic initializes the length and number-of-entries fields (that is, the first 4 bytes) of the opt parameter. This must be done before options are added to the parameter by means of the ADDOPT intrinsic.

Condition codes returned by this intrinsic are:

  • CCE — Succeeded.

  • CCL — Failed because of a user error.

  • CCG — Not returned by this intrinsic.

This intrinsic can be called in split stack mode.

Feedback to webmaster