IB Statements/inteld

From CometWiki

Jump to: navigation, search

INTELD function

Syntax: INTELD(numeric-argument)

Discussion: The INTELD function returns a 4-byte (double word) string in Intel (byte-reversed) format representing the hex equivalent of the decimal numeric-argument. This is especially helpful when doing Windows programming.

The INTELD and INTEL functions were implemented in support of the Internet Basic Windows Driver Library. Both functions can be used in Data Division of the program (with a constant numeric argument) and in the Procedure Division of the program (with a constant or variable numeric argument).

The INTEL function works just like the INTELD function except that it returns a single-word (2-byte) string.

History: This function was added in Comet 504.

Example: AX$=INTELD(DOS.FILE.WRITE)

Personal tools