Difference between revisions of "StrCompare"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Talkie Toaster
(New page: '''Syntax:''' StrCompare ''CopyTo:long'' ''CopyFrom:long'' StrCompare currently appears to be identical to StrCopy. Assumption made having tested with To and From being both identic...)
 
imported>Tibixe
(rewrite)
 
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  StrCompare ''CopyTo:long'' ''CopyFrom:long''
  equal:bool StrCompare ''left:stringID'' ''right:stringID''


StrCompare currently appears to be identical to [[StrCopy]].
StrCompare returns 1 if left and right are equal byte-to-byte, and returns 0 otherwise.


Assumption made having tested with To and From being both identical, different, and To containing From- all set To to From, and the function itself never returned a value.
At least theoretically. Sorry for that stupid bug concerning this function. I'll upload a fix soon. [[User:Tibixe|Tibixe]]


[[Category: Functions (OBSE)]]
[[Category: Functions (OBSE)]]
[[Category: TSFC]]
[[Category: TSFC]]

Latest revision as of 08:45, 10 August 2007

Syntax:

equal:bool StrCompare left:stringID right:stringID

StrCompare returns 1 if left and right are equal byte-to-byte, and returns 0 otherwise.

At least theoretically. Sorry for that stupid bug concerning this function. I'll upload a fix soon. Tibixe