On computer 'on' return forehead to table. Repeat.

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
dalkin
Posts: 183
Joined: Wed Jul 04, 2007 2:32 am
Contact:

On computer 'on' return forehead to table. Repeat.

Post by dalkin » Fri Aug 24, 2007 6:43 am

I want to replace the contents of Field A with EITHER the contents of Field B OR random words from a comma-separated list (hopefully from a text file), with the user making the choice which to use.

I've spent 3 hours trying to make it work but I can't. Any help appreciated.

Cheers,
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.

Klaus
Posts: 14192
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Fri Aug 24, 2007 8:48 am

Hi dalkin,

please have your aspirine handy ;-)

...
answer "Replace with complete field B or any word from list?" with "Field B" or "Word form list"
if it = "Field B" then
put fld "B" into fld "A"
else
put any item of your_list_here into fld "A"
end if
...


Best

Klaus

Post Reply