Difference between revisions of "0844"
Jump to navigation
Jump to search
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 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== | + | == Keywords == |
− | string, empty, check | + | string, empty, check, var, text, label |
− | |||
− |
Revision as of 21:04, 17 June 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 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