Difference between revisions of "Store"

From WikiManual
Jump to: navigation, search
m
 
Line 1: Line 1:
= Overview =
+
==[[Operators]]:==
 +
{{Store Commands}}
  
 
Stores the second value on the stack into the memory location specified by the top value.
 
Stores the second value on the stack into the memory location specified by the top value.
Line 12: Line 13:
 
  store
 
  store
  
Compared to the first, the lonely store-command works on the numbers on the [[stack]], what ever they are.
+
Compared to the first, the lonely store-command works on the numbers on the [[stack]], what ever they are. Famous for emptiing the stack and energy at once.
 
 
 
 
===Operators===
 
* [[store]]
 
* [[rnd]]
 
* [[add]]
 
* [[sub]]
 
* [[mult]]
 
* [[div]]
 
* [[inc/dec]]
 

Latest revision as of 21:41, 23 December 2005

Operators:

Store Commands:

store
inc dec

The following commands are not supported in versions earlier 2.46:

addstore
substore
multstore
divstore
ceilstore
floorstore
rndstore
sgnstore
abstore
sqrstore
negstore

Stores the second value on the stack into the memory location specified by the top value.

Syntax:

x y store

Where 'x' is the value to be stored, and 'y' is the memory location.

or

store

Compared to the first, the lonely store-command works on the numbers on the stack, what ever they are. Famous for emptiing the stack and energy at once.