home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
WINDOWS
/
UTIL
/
PROGSET.ZIP
/
PARSE.PRG
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1991-04-29
|
335 b
|
17 lines
* PARSE.PRG
*--- Example comma-separated list
LineRead = '100,200,"Three Hundred",400'
*--- Parse list, placing each element in an array
myArray = GetParmList(LineRead)
*--- Print array values
for x=1 to len(myArray)
? myArray[x]
next x
return
*---*
Function GetParmList(plist)
return &('{'+plist+'}')