forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vdslists.dll and parsing

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Feb 04, 2003 9:24 pm    Post subject: vdslists.dll and parsing Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Feb 04, 2003 9:59 pm    Post subject: Reply with quote

Use OPTION FIELDSEP,@TAB(). That should work. Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Wed Feb 05, 2003 9:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Feb 05, 2003 1:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Thu Feb 06, 2003 11:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group