yesss, this looks more like an info source that I prefer..
cool !

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
1. I made the video, it is entirely written in Lc hee hee.Well no, I havent look into links that do not refer to some "LC website" lessons or tuto yet :
1 thing is ..if its not an LC made syntax, its likely to add to my confusion of how an LC code can be written like.
2nd I 've been trying to focus on the PDF dictionaries and guide but one is really very technical and doesnt offer simple complete code samples
and the other sometimes skip that part that one wanted to see how it is written.
I don't know Dart but this example sounds more like lists, not arrays.indeed I first learned about array starting coding practice with Dart.
which uses LIST SET and MAP for 3 "types" of arrays...
Code: Select all
EggArray[3][2] -> 3rd cup, 2nd item
Code: Select all
EggArray[3]["fruit"] -> "strawberry"
Code: Select all
EggArray["food"]["fruit"] -> strawberry
EggArray["food"]["nut"] -> almond
Code: Select all
put "fruit" into tKey
get EggArray["food"][tKey]
Code: Select all
put "ABC" into myVariable["myKeyName"]
I love seeing Elanor anywhere.
Code: Select all
on mouseUp
put "duck" into myArray[bird][swimmer]
put "dove" into myArray[bird][flyer]
put "chicken" into myArray[bird][delicious]
breakpoint
put myArray into newArray ---1
put myArray[bird] into yetAnotherArray --2
put myArray[swimmer] into x ---3
end mouseUp
I'm sure she is sick of seeing me in her email box though hee hee
Code: Select all
put "duck" into myArray["bird"]["swimmer"]
Code: Select all
Return delimited:
duck,bird,swimmer
dove,bird,flyer
chicken,bird,delicious
Pipe delimited:
duck,bird,swimmer|dove,bird,flyer|chicken,bird,delicious
Slash delimited:
duck,bird,swimmer/dove,bird,flyer/chicken,bird,delicious
Multi-character delimited:
duck,bird,swimmer_#_dove,bird,flyer_#_chicken,bird,delicious
Code: Select all
myArray["bird"]["swimmer"]
I always do, Klaus, but I wrote this while in the shower, and was just a little lazy.I HIGHLY recommend to QUOTE non-numeric key names!