About NS Basic  |  Contact  |  Site Map  |  Search  |  Register 
 

Specifications

This is a list of commands, statements, functions and other parts that make up NS Basic/Palm. They are all
described in more detail in the NS Basic/Palm Handbook.

Statements

Structure

END FUNCTION, END SUB, EXIT FUNCTION, EXIT SUB, FUNCTION, SUB

Flow of Control

CALL, CASE, CASE ELSE, CHAIN, DO, DO UNTIL, DO WHILE, END SELECT, ENDIF, EXIT DO, EXIT FOR, FOR, GOSUB, GOTO, IF, LABEL, NEXT, NEXTSCREEN, RETURN, SELECT CASE, STOP

Menus

MENUDRAW, MENUERASE, MENURESET

Variables

DEFINE, DIM, DISPLAY, END TYPE, GLOBAL, TYPE

Drawing

CREATEWINDOW, DRAWBITMAP, DRAWCHARS, DRAWLINE, DRAWRECTANGLE, ERASEWINDOW, FILLRECTANGLE, REDRAW, DESTROYWINDOW

Other

BEEP, CURSOR, DELAY, LET, MSGBOX, SETCURRENTWINDOW, SETEVENTHANDLED, SOUND

Variable Types

INTEGER, FLOAT, DATE, TIME, STRING, BYTE, SINGLE, DOUBLE, SHORT, DATABASE, USERTYPE

Functions

Math

ABS, ASC, CEILING, CHR, FLOOR, INT, MOD, RAND, REM, ROUND, SIGN

Trigonometric

ACOS, ASIN, ASINH, ATAN, ATAN2, ATANH, COS, COSH, DEGTORADIANS, EXP, LOG, LOG10, POW, POWER10, SIN, SINH, SQRT, TAN, TANH

String

FORMAT, INSTR, LCASE, LEFT, PROPER, RIGHT, RIGHTPAD, RTRIM, STR, TESTNUM, TRIM, TRUNC, UCASE, VAL, LEFTPAD, LEN, LTRIM, MID, NOOCCURS

Date

ADDDAYS, ADDMONTHS, ADDYEARS, DATEMMDDYY, DATEVAL, DAY, DAYOFWEEK, DAYOFYEAR, FIRSTOFMONTH, LASTOFMONTH, MMDDYYTODATE, MONTH, NOW, POPUPDATE,SUBTRACTDAYS, SUBTRACTMONTHS, SUBTRACTYEARS, TODATE, TODAY, YEAR, YEARMONTH

Time

HOUR, HOURMIN, HOURMINAMPM, MINUTE, POPUPTIME, SECOND, TIMEVAL,TOTIME

Miscellenous

ALERT, GETEVENTTYPE, GETKEY, SYSEVENTAVAILABLE

Database

DBCLOSE, DBCREATE, DBDELETE, DBERASE, DBFIND, DBGET, DBGETNORECS, DBINSERT, DBOPEN, DBPOSITION, DBPUT, DBREAD, DBREADNEXT, DBREADPREV, DBRESET, DBUPDATE

Serial

SERIALCLOSE, SERIALDIAL, SERIALHANGUP, SERIALOPEN, SERIALRECEIVE, SERIALSEND, SERIALSET

Form Objects

Objects

BITMAP, BUTTON, CHECKBOX, FIELD, GADGET, GRID, LABEL, LIST, POPUP, PUSHBUTTON, REPEATER, SCROLLBAR, SELECTOR, SHIFT INDICATOR, SLIDER

Object Functions

Add, Clear, Current, Hide, ID, ItemNo, ItemText, Max, MaxChars, Min, NoItems, PageSize, Redraw, Remove, Selected, SetFocus, Show, Status, Text

Shared Libraries

BitsNBytes

AndByte, AndInteger, AndShort, Bin2Dec, CRC32, CycleShiftByte, CycleShiftInteger, CycleShiftShort, Dec2Bin, Dec2Hex, EncMD4, EncMD5, EncryptDES, EqvByte, EqvInteger, EqvShort, GetBitByte, GetBitInteger, GetBitShort, GetHiByte, GetHiWord, GetLowByte, GetLowWord, Hex2Dec, InverseBitByte, InverseBitInteger, InverseBitShort, NotByte, NotInteger, NotShort, NumBin2Dec, NumDec2Bin, NumDec2Hex, NumHex2Dec, OrByte, OrInteger, OrShort, ResetBitByte, ResetBitInteger, ResetBitShort, SetBitByte, SetBitInteger, SetBitShort, SetHiByte, SetHiWord, SetLowByte, SetLowWord, ShiftByte, ShiftInteger, ShiftShort, SignShiftByte, SignShiftInteger, SignShiftShort, Swap16, Swap32, Swap64, Version, XorByte, XorInteger, XorShort

HandEra

AudioAdjVolumeSupported, AudioDTMFSupported, AudioGetMasterVolume, AudioGetMute, AudioPlayDTMFChar, AudioPlayDTMFStr, AudioPlayWaveSupported, AudioRecordWaveSupported, AudioSetMasterVolume, AudioSetMute, AudioVolumeDlg, CompileInfo, SilkGetGraffitiPersistence, SilkMaximizeWindow, SilkMinimizeWindow, SilkSetGraffitiPersistence, SilkWindowMinimized, SizeForm, VgaBaseToVgaFont, VgaFontSelect, VgaFrmGetTitleHeight, VgaFrmModify, VgaGetScreenMode, VgaGetScreenOffset, VgaGetScreenRotation, VgaGetScreenState, VgaIsVgaFont, VgaRestoreScreenState, VgaRotateSelect, VgaSaveScreenState, VgaSetScreenMode, VgaSetScreenState, VgaVgaToBaseFont, VgaWinDrawBitmapExpanded

Kyocera

CompileInfo, CoreLibGetVersion, CoreLibPresent, ModGetPhoneNumber, ModGetState, ModMute, ModPower, ModSetEarVolume, ModStateAMPS, ModStateHardPaused, ModStateInCall, ModStateLPM, ModStateMuted, ModStateNoService, ModStatePowered, ProxyClass, ProxyCurrentApp, ProxyEventTime, ProxyGetCallInfo, ProxyRegister, ProxySignal, ProxyUnregister, ProxyUnregisterAll, RegAddMacro, RegAddScheme, RegEnableScheme, RegEnumMacros, RegEnumSchemes, RegGetHandler, RegGetVersion, RegistryLibPresent, RegMacroDesc, RegMacroShortName, RegProcessMailAddress, RegProcessURL, RegRemoveMacro, RegRemoveScheme, RegSchemeCreator, RegSchemeEnabled, RegSchemeFlags, RegSchemeName, RegSchemeShortName, RegSetHandlerName, SigCreator, SigEnumerate, SigMask, SigPriority, SigRegister, SigType, SigUnregister, StringDate, StringDateTime, StringTime, TelAnswerCall, TelCancelPause, TelCIBaudRate, TelCICallDuration, TelCICallerIDStatus, TelCICallFlags, TelCICallType, TelCIDialingPaused, TelCIErr, TelCIExt, TelCINumber, TelCISignalHist, TelCITimeOfCall, TelCIWaiting, TelEndCall, TelFormatNumber, TelGenerateDTMF, TelGetCallInfo, TelGetDigit, TelMakeCall, TelResumeDialing, Version

ScreenLib

BrightnessAdjust, ColorSupported, CompileInfo, ContrastAdjust, CurrentColor, CurrentDepth, CurrentHeight, CurrentWidth, DefaultColor, DefaultDepth, DefaultHeight, DefaultWidth, DepthSupported, DrawGrayLine, DrawLine, DrawPixel, EraseLine, ErasePixel, GetPixel, GetRGBBlue, GetRGBGreen, GetRGBIndex, GetRGBRed, GetSupportedDepths, GetTableEntryIndex, GetTableEntryRGB, IndexToRGB, InvertLine, InvertPixel, PickColorIndex, PickColorRGB, RestoreScreenMode, RGBToIndex, SaveScreenMode, ScreenLock, ScreenUnlock, SetBackColor, SetColor, SetDepth, SetForeColor, SetHeight, SetTableEntryIndex, SetTableEntryRGB, SetTextColor, SetToDefaults, SetWidth, Version

SymbolLib

CmdScanDisable, CmdScanEnable, CmdScanLedOff, CmdScanLedOn, CmdScanSetBarcodeEnabled, CmdScanSetTriggeringModes, CmdSendParams, CmdStartDecode, CmdStopDecode, GetBarType, GetDecodedData, GetLastScanData, IsPalmSymbolUnit

Features and specifications subject to change.

© NSB Corporation. All rights reserved.