suve

awful: function: seq

Declaration

bool :seq ( mixed $ARG , … )
bool :=== ( mixed $ARG , … )

Summary

Takes any number of arguments and performs a strict-equals comparison between them. This means that no type conversions are performed; values of different types are considered non-equal. This holds true even for integer subtypes - i255 and hFF are NOT :seq equal.

Example

# :eq example.
:set &STR s'123'
:set &NUM i123
:writeln s'STR and NUM are ' (:fork (:eq $STR $NUM) s'equal' s'unequal') s' (loose).'
:writeln s'STR and NUM are ' (:fork (:seq $STR $NUM) s'equal' s'unequal') s' (strict).'

wikistrona zmodyfikowana 2014/0601/2317