The way it is in Director is nice. These are all valid statements:

put “one two three” into v
put the last char of word 3 of v
— “e”

v = “one two three"
put v.word[3].char[v.word[3].length]
— “e"

put [{a:1,b:2,c:3},{d:4,e:5,f:6}] into alist
put alist[2].d
— 4
put the d of alist[2]
— 4

put item 1 of the long date
 -- “Friday"

d = the systemdate
put d.day
 — 30

Whether or not there’s a verbose or dot syntax way to say the same thing, it’s 
nice to have a choice.



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to