Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alphabetical sort in ISTringMap array
#1
In the example which follows I cannot understand why the 3 first lines in file .txt are sorted at the end of the IStringMap list. Any advice will be much appreciated.

Function tempf05
Code:
Copy      Help
IStringMap+ QMT=CreateStringMap(1|8) ;; QM Topics
OpenISMFile(QMT "C:\tmp\IS\QMTopics.txt" ":") ;;Help - QM Topics
str sl
QMT.GetList(sl)
out sl
ARRAY(str) ak av
QMT.GetAll(ak av)
for int'i 0 ak.len
,out ak[i]
,


Attached Files
.txt   QMTopics.txt (Size: 21.88 KB / Downloads: 422)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)