3 - 29
padMemDelete
Deletes the specified item from the non-volatile memory if it exists.
Syntax
BOOL padMemDelete(
WORD Id
)
Parameter
Description
Id
ID of the memory item to be deleted
Note: All memory objects may be deleted, even empty ones. To check if a specified memory object contains data, use
Returns
Returns TRUE if the function call succeeds, FALSE otherwise.
See Also
padMemGetFree, padMemReset, padMemClear, padMemLoadText, padMemLoadBitmap, padMemFind,
padMemGetChecksum
padMemDeleteVar
Syntax
BOOL padMemDeleteVar(
char FAR *lpszVarName
)
Parameter
Description
lpszVarName
Name of the memory variable
Returns
Returns TRUE if the function call succeeds, FALSE otherwise.
padMemFind
This command allows you to check if a memory item, specified by
Id
, is stored in the unit’s memory. Non-volatile memory
is typically used to store large and often used bitmaps and texts. Since the data resides on the unit, the data transfer between
the COM-port and the unit is reduced, resulting in much faster display times. The items are referred to in memory based on
their IDs.
Syntax
BOOL padMemFind(
WORD Id,
BYTE *Stored
)
Parameter
Description
ID
ID of the stored memory item
Stored
Pointer to a BYTE that returns TRUE if the memory item is found, FALSE otherwise
Returns
Returns TRUE if the function succeeds, FALSE otherwise.
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...