Download misc-ni-ext.hqx (7,465 KB)
From: SMTP%"ALLAN@otago.ac.nz" 30-JUL-1991 21:22:16.03
To: hagood@scri1.scri.fsu.edu
CC:
Subj: NiceChoice Exts
Date: Wed, 31 Jul 91 13:08 GMT +1200
From: Allan Udy
Subject: NiceChoice Exts
To: hagood@scri1.scri.fsu.edu
X-VMS-To: IN%"hagood@scri1.scri.fsu.edu"
Natural Intelligence Externals
% NI_Delay(numTicks)
NI_Delay pauses for numTicks ticks (60ths of a second).
% NI_GetMods(Command; Option; Shift; Control)
NI_GetMods returns the state of the four keyboard modifiers in the four variables passed to it. If a modifier is being pressed, 1 is returned in the corresponding parameter, else zero is returned in the corresponding parameter.
% NI_Infos(multiUser; compiled; structFile; structPath; DFFile; DFPath)
NI_Infos returns the following information about the 4D environment
multiUser 0=single-user, 1=multi-user
compiled 0=interpreted, 1=compiled
structFile, structPath the filename and path of the structure file
DFFile, DFPath the filename and path of the data file
If any errors occur in the process of getting the path, the path will be null.
% NI_PicInfo(pic4D; picWidth; picHeight; picOriginV; picOriginH; picSize)
Passed a 4D picture field or variable in pic4D, NI_PicInfo returns the following information about the picture
picWidth, picHeight the width and height of the picture frame in pixels
picOrgV, picOrgH for pictures that are on background, returns the vertical and horizontal coordinates of the picture offset
picSize the size of the picture in bytes
% NI_RmvList(listName; err)
Passed a 4D list name in listName, NI_RmvList removes the list, updates the structure file, and disposes it from the heap. If NI_RmvList is called in multi-user mode, it does nothing and returns -1 in err. If listName is not a valid list name, NI_RmvLi