Qstrcmp: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''qstrcmp''' <quote1> <quote2> <var> Compare two quotes. <var> returns zero if they are identical, -1 if the first quote comes first in alphabetical order, 1 if it comes lat..." |
No edit summary |
||
Line 1: | Line 1: | ||
'''qstrcmp''' <quote1> <quote2> < | '''qstrcmp''' <quote1> <quote2> <return> | ||
Compare two quotes. < | Compare two quotes. <return> returns zero if they are identical, -1 if the first quote comes first in alphabetical order, 1 if it comes later. | ||
Note that the lexicographical order is rudimentary, for example "Player 2" is considered greater than "Player 10". | Note that the lexicographical order is rudimentary, for example "Player 2" is considered greater than "Player 10". | ||
[[Category:EDuke32 specific commands]] | |||
[[Category:String manipulation]] |
Revision as of 08:04, 20 February 2020
qstrcmp <quote1> <quote2> <return>
Compare two quotes. <return> returns zero if they are identical, -1 if the first quote comes first in alphabetical order, 1 if it comes later.
Note that the lexicographical order is rudimentary, for example "Player 2" is considered greater than "Player 10".