mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
27 lines
412 B
Text
27 lines
412 B
Text
var s1 := "abcd";
|
|
var s2 := "defg";
|
|
|
|
if (s1 < s2)
|
|
print( "s1 < s2: OK" );
|
|
else
|
|
print( "s1 >= s2: FAILED" );
|
|
endif
|
|
|
|
if (s1[1] < s2)
|
|
print( "s1[1] < s2: OK" );
|
|
else
|
|
print( "s1[1] < s2: FAILED" );
|
|
endif
|
|
|
|
if ("abcd" < "d")
|
|
print( "abcd < d: OK" );
|
|
else
|
|
print( "abcd < d: FAILED" );
|
|
endif
|
|
|
|
if (s1 < s2[1])
|
|
print( "s1 < s2[1]: OK" );
|
|
else
|
|
print( "s1 < s2[1]: FAILED" );
|
|
endif
|
|
|