ABC of arrays

Richard Gaskin ambassador at fourthworld.com
Wed Apr 1 12:27:45 EDT 2015


Thierry Douez wrote:

 > I'm looking for any learning material to understand
 > the basics of arrays in Livecode.

1. Skim these:
<http://lessons.runrev.com/s/lessons/tags?tag=array>

2. Set aside an hour to experiment

With that modest investment you'll gain a good understanding of arrays, 
and once gained your programming style will be changed forever. :)


Graham Samuel wrote:
 > And some things are just wrong: for example the very simple statement
 >
 > put the keys of myArray
 >
 > may or may not list all the keys, or it may.  I have never understood
 > this, especially as the Dictionary doesn’t discuss such ambiguities.

The Dictionary doesn't describe that because it should never happen.

Under what circumstances would "the keys" not returns the keys?

FWIW, I've only seen "the keys" return all keys in every version of 
LC/MC I've ever used.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list