Functions Documentation | |
Name | itmGetCharges |
Syntax | (itmGetCharges item) -> charges |
Argument List | item: The itemStruct of the item you want to get the charges from. |
Returns | The number of charges. |
Category | item, 0.99 |
Description | Returns the number of charges. |
Example |
Getting the amount of charges on a Blue Credit Chip. This amount is used to determine how many credits the chip pays out.
(dbgOutput (itmGetCharges (itmCreate &itCashCardBlue; 1))) Returns a number between 4 and 100 For setting this value see itmSetCharges |
Comment | Useful in storing a number on an item. Look at the cash roms for an example of use. |