BeginComment:
This program demonstrates string comparisons.

Copyright © 2020 Richard Lesh.  All rights reserved.
EndComment

Pragma: UseUnicode

BeginProgram: Strings3

BeginMain:
	ScalarDecl: const <string> color1 = "Blue"
	ScalarDecl: const <string> color2 = "Red"
	ScalarDecl: <bool> result

	PrintLine: "compare(color1, color2): ", compareto(color1, color2)
	Assign: result = color1 lt color2
	PrintLine: "color1 < color2: ", result
	Assign: result = color1 gt color2
	PrintLine: "color1 > color2: ", result
	Assign: result = color1 eq color2
	PrintLine: "color1 == color2: ", result
	Assign: result = color1 ne color2
	PrintLine: "color1 != color2: ", result
EndMain
EndProgram
