Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - store assign values to memory variables http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 store               Assign values to memory variables
------------------------------------------------------------------------------
 Syntax
   store xValue to variables

 Arguments
   xValue is a value to assign.
   variables is a comma-separated list of one or more variables.

 Description
   The store command is an alternative method of assigning memory variables.
   It can be used in place of the := assignment operator.

   store allows multiple assignments. A certain value can be assigned to
   one or simultaneously more variables.

   Fields cannot be assigned with store; instead the replace command
   or the := operator must be used.

 Example
   #define EXAMPLE_SYSTEM
   #include example.hdr

   proc Test_store
   // Initialize several local variables in one step
   vardef
      uint uVar1, uVar2, uVar3
   enddef
   store 23 to uVar1, uVar2, uVar3
   ? uVar1, uVar2, uVar3
   endproc

   proc main
   Test_store()
   endproc

See Also: :=

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson