Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (23 sloc) 0.401 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
f:TStream=ReadFile("scancodes.txt")
Local names:TList=New TList
i=0
While Not Eof(f)
line$=ReadLine(f)
Local bits$[]
bits=line.split("~t")
If Len(bits)>1
name$=bits[0]
num=Int(bits[1])
While names.count()<num
s$=""
names.addlast s
Wend
names.addlast name
EndIf
Wend
txt$=""
For name$=EachIn names
If txt txt:+", "
txt:+"~q"+name+"~q"
Next
Print "["+txt+"]"
Something went wrong with that request. Please try again.