252
edits
m (→streq()) |
|||
Line 686: | Line 686: | ||
{{Nasal doc | {{Nasal doc | ||
|syntax = streq(a, b); | |syntax = streq(a, b); | ||
|source = {{simgear file|simgear/nasal/lib.c|l= | |source = {{simgear file|simgear/nasal/lib.c|l=129|t=Source}} | ||
|text = Tests the string values of the two arguments for equality. This function is needed because the <code>'''=='''</code> operator (see [[Nasal_Operators#Equality|Nasal Operators]]) tests for numeric equality first. If either or both the arguments are not strings, 0 (False) will be returned. Returns either 0 (False) or 1 (True). {{Note|This function is rarely required in typical code.}} | |text = Tests the string values of the two arguments for equality. This function is needed because the <code>'''=='''</code> operator (see [[Nasal_Operators#Equality|Nasal Operators]]) tests for numeric equality first. If either or both the arguments are not strings, 0 (False) will be returned. Returns either 0 (False) or 1 (True). {{Note|This function is rarely required in typical code.}} | ||
|param1 = a | |param1 = a |
edits