What does the CASE syntax mean? - VB6
3 answers
Strings can be compared with more or less than just numbers. Basically, this should compare their ascii values.
http://www.vbexplorer.com/VBExplorer/Focus/strings_tutorial_2.asp
http://msdn.microsoft.com/en-us/library/215yacb6(v=vs.80).aspx
+3
He compares them alphabetically. See the section here on MSDN called String Comparison.
From the docs:
, , .
. . .
A < B < E < Z < a < b < e < z < À < Ê < Ø < à < < ø
, , . , :
(A = a) (À = à) (B = b) (E = e) ( = < (Ø = ø) (Z = Z)
+3