put array into custom property--how

Ken Ray kray at sonsothunder.com
Wed Apr 24 12:10:00 EDT 2002


Try this:

on mouseUp
  put "Hello|Goodbye" into sdb
  split sdb by "|"
  put keys(sdb) into tKeyList
  repeat for each line tKey in tKeyList
    set the testArray[tKey] of this stack to sdb[tKey]
  end repeat
end mouseUp

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message ----- 
From: "Sivakatirswami" <katir at hindu.org>
To: <use-revolution at lists.runrev.com>
Sent: Wednesday, April 24, 2002 12:20 AM
Subject: put array into custom property--how


> With all the array discussion this was probably asked and answered
> but why doesn't this work?
> 
> put "Hello|Goodbye|and|but|" into smallDataBase
> split smallDataBase with "|"
> set the testArray of this stack to smallDataBase
> 
> ??
> Hinduism Today
> 
> Sivakatirswami
> Editor's Assistant/Production Manager
> katir at hindu.org 
> www.HinduismToday.com, www.HimalayanAcademy.com,
> www.Gurudeva.org, www.hindu.org
> 
> Read The Master Course Lesson of the Day at
> http://www.gurudeva.org/lesson.shtml
> ith all the array discussion this was probably asked and answered but I
> missed it...
> 
> why doesn't this work? :
> 
> put "Hello|Goodbye|and|but|" into smallDataBase
> split smallDataBase with "|"
> set the testArray of this stack to smallDataBase
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list