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 


Newbie Help with lists

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


Joined: 08 Feb 2007
Posts: 17

PostPosted: Thu Feb 08, 2007 5:22 pm    Post subject: Newbie Help with lists Reply with quote

Hi,

Apologies as this will be very easy piece of code for you guys but I have given up trying to add some data to a list dialog, can someone please help !

Ok so I create a list

LIST CREATE,1,SORTED
LIST ADD,1,text1
LIST ADD,1,text2

then how do I add this list to a list dialog I have tried

DIALOG ADD,LIST,1,300,300,100,100


I know this is wrong but I can't find an example in the help files. I would be very grateful if someone can help.
Back to top
View user's profile Send private message
marculos
Newbie


Joined: 08 Feb 2007
Posts: 17

PostPosted: Thu Feb 08, 2007 5:26 pm    Post subject: Reply with quote

its ok just found the list append command ! sorry
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Fri Feb 09, 2007 3:48 pm    Post subject: Reply with quote

There are a few ways to add text to a list:

Add one line
list add,<list>,<text>
Clear list and add new item(s)
list assign,<list>,<text> (more values can be added at the same time by using @cr())
Append item(s) to end of list
list append,<list>,<text> (more values can be added at the same time by using @cr())
Add multiple items with shorthand
list loadtext,<list>
"Item1
"Item2
Replace item selected by "list seek" command
list insert,<list>,<text>

Besides these commands, you can also load and save text files and data from the clipboard, etc.

Hope this helps you if you want to explore VDS more Smile

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
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