Difference between revisions of "0844"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|SA}} | |
− | ''' | + | | command = IS_VAR_TEXT_LABEL_EMPTY |
− | + | | description = Checks if the string is empty | |
+ | | syntax1 = 0844: string [''global short string var''] empty | ||
+ | | p1t = [''global short string var''] | ||
+ | | p1d = Global variable containing a string of up to 7 characters | ||
+ | }} | ||
− | This opcode | + | This conditional opcode returns true if the string represented by the global variable is empty, i.e. contains no characters, only zero bytes. Opcodes 0845, 0846, and 0847 behaves similarly to this. |
− | + | ||
+ | == Keywords == | ||
+ | string, empty, check, var, text, label |
Latest revision as of 05:17, 22 December 2016
- Description
- Checks if the string is empty
- Syntax
- 0844: string [global short string var] empty
- Parameter
- [global short string var]
- Global variable containing a string of up to 7 characters
This conditional opcode returns true if the string represented by the global variable is empty, i.e. contains no characters, only zero bytes. Opcodes 0845, 0846, and 0847 behaves similarly to this.
Keywords
string, empty, check, var, text, label