Difference between revisions of "0004"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | ''' | + | {{Icon|trilogy}} '''SET_VAR_INT''' |
+ | <hr /> | ||
+ | '''Description''' | ||
+ | : Sets the value of a global variable to a specified integer. | ||
+ | '''Syntax''' | ||
+ | : 0004: [''global var''] = [''int''] | ||
+ | : [''global var''] = [''int''] | ||
+ | '''Parameter''' | ||
+ | : [''global var''] | ||
+ | :: Global variable | ||
+ | : [''int''] | ||
+ | :: Integer value | ||
− | + | This opcode sets the value of a global variable to a specified integer. | |
− | + | == Keywords == | |
− | + | set, global, integer, variable, [[math]] | |
− | + | == See also == | |
− | + | * [[0005]] – sets flt value of global var | |
+ | * [[0006]] – sets int value of local var | ||
+ | * [[0007]] – sets flt value of local var | ||
− | + | [[Category:OpCodes]][[Category:Math OpCodes]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category:OpCodes]] |
Latest revision as of 21:57, 5 February 2015
Description
- Sets the value of a global variable to a specified integer.
Syntax
- 0004: [global var] = [int]
- [global var] = [int]
Parameter
- [global var]
- Global variable
- [int]
- Integer value
This opcode sets the value of a global variable to a specified integer.
Keywords
set, global, integer, variable, math