Populating a list

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Populating a list

Post by Andycal » Tue Jun 17, 2008 3:52 pm

First off, I think RunRev should upgrade this forum, the search is really bad.

That out the way, I've got a list of words:

"fwibble dribble toil and gripple"

I want to put them into a list field. I've tried doing a "repeat for each word put tWord into fldList", but that only puts the last one in the list.

I've also tried setting the itemdelimeter (for what reason, I'm not sure, but I'm trying everything before posting here!).

Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Post by Andycal » Tue Jun 17, 2008 5:25 pm

Fixed it!

Replace spaces with return, then pop it all into the list.

Easy peasy.

Post Reply