0 built-in types, Built-in types – Rice Lake iRite IDE User Manual

Page 32

Advertising
background image

28

920i

Programming Reference

4.0

Built-in Types

The following built-in types are used in parameters passed to and from the functions described in this section.
Most built-in types are declared in the system.src file found in the

iRev

application directory. Some built-in types

are defined by the compiler and are not declared in the system.src file.

type SysCode is (SysOK,

SysLFTViolation,

SysOutOfRange,

SysPermissionDenied,

SysInvalidScale,

SysBatchRunning,

SysBatchNotRunning,

SysNoTare,

SysInvalidPort,

SysQFull,

SysInvalidUnits,

SysInvalidSetpoint,

SysInvalidRequest,

SysInvalidMode,

SysRequestFailed,

SysInvalidKey,

SysInvalidWidget,

SysInvalidState,

SysInvalidTimer,

SysNoSuchDatabase,

SysNoSuchRecord,

SysDatabaseFull,

SysNoSuchColumn,

SysInvalidCounter,

SysDeviceError,

SysInvalidChecksum,

SysOk,

SysNoFileSystemFound,

SysPortbusy,

SysFileNotFound,

SysDirectoryNotFound,

SysFileExists,

SysInvalidFileFormat,

SysInvalidMode,

SysBadFilename, (over 8 characters)

SysMediaChanged,

SysNoFileOpen,

SysEndOfFile);

type Mode is (GrossMode, NetMode, TareMode);

type Units is (Primary, Secondary, Tertiary);

type TareType is (NoTare, PushButtonTare, KeyedTare);

type BatchingMode is (Off, Manual, Auto);

type BatchStatus is (BatchComplete, BatchStopped, BatchRunning, BatchPaused);

-- PrintFormat must match the definitions in print.h in the core software.

type PrintFormat is (GrossFmt, NetFmt,

AuxFmt,

TrWInFmt, TrRegFmt, TrWOutFmt,

SPFmt,

AccumFmt, AlertFmt,

Advertising
This manual is related to the following products: