| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Tue Feb 04, 2003 9:24 pm Post subject: vdslists.dll and parsing |
|
|
How can i parse the contents of the collist in the vdslists.dll
The returned item is eg. name type hello efjnefj etc etc
there is no seperators???
Any ideas, the contents of my collist will change. Bascally i need to click on an item, it parses it and i can change the data and then put it back
Nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Feb 04, 2003 9:59 pm Post subject: |
|
|
Use OPTION FIELDSEP,@TAB(). That should work.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Wed Feb 05, 2003 9:40 am Post subject: |
|
|
I tried using:
| Code: | extlist fieldsep,@tab()
%%data = @EXTLIST(LIST, ITEM,collist)
PARSE "%a;%b;%c;%d",%%data
info %%data@cr()%a@cr()%b@cr()%c@cr()%d |
But is does not parse the data
Nathan Any other ideas??? |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Wed Feb 05, 2003 1:44 pm Post subject: |
|
|
| You have to make sure that extlist fieldsep and the option fieldsep are the same... So try to add option fieldsep,@tab() to your code... |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Thu Feb 06, 2003 11:29 pm Post subject: |
|
|
Please see the Private Message I sent to you, which mentions the following code:
| Code: |
%%data = @EXTLIST(LIST,ITEM,collist)
option fieldsep,|
parse "%%data;%%bitmap",%%data
option fieldsep,@tab()
PARSE "%a;%b;%c;%d",%%data
info %a@cr()%b@cr()%c@cr()%d@cr()%%bitmap
|
|
|
| Back to top |
|
 |
|