Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ppl:statements:account [2026-10-08 11:29] – markdown conversion stimpyppl:statements:account [2026-10-08 11:43] (current) – external edit 127.0.0.1
Line 7: Line 7:
 Returns amount of credits charged for services corresponding to the field parameter.   Returns amount of credits charged for services corresponding to the field parameter.  
  
-**Example:**  +**Example:**
  
 ``` ```
-println "You have been charged ",ACCOUNT(DEB_CHAT)," for chat"  +println "You have been charged ",ACCOUNT(DEB_CHAT)," for chat"
 ``` ```
- 
 field is the field number to access (1-14) or using [[ppl:statements:constants|DEB_ constants]]   field is the field number to access (1-14) or using [[ppl:statements:constants|DEB_ constants]]  
 See the [[ppl:statements:accounting|Accounting section]] for a list of constants witch can be used with the [[ppl:statements:account|ACCOUNT()]] function.   See the [[ppl:statements:accounting|Accounting section]] for a list of constants witch can be used with the [[ppl:statements:account|ACCOUNT()]] function.  
Line 22: Line 21:
 ACCOUNT INTEGER field, INTEGER value ACCOUNT INTEGER field, INTEGER value
 ``` ```
- 
 `field` is a value between 0-14. Using system constants is reccomended. value is the amount of credits to add or subtract to field the field   `field` is a value between 0-14. Using system constants is reccomended. value is the amount of credits to add or subtract to field the field