FpObjectArray
Search:
Syllabus / FpObjectArray

var array:Array = ["hat", 1, true];

trace(array[0]); // hat
trace(array[1]); // 1
trace(array[2]); // true

var object:Object = {cloth:"hat", quant:1, state:true};

trace(object.cloth); // hat
trace(object.quant); // 1
trace(object.state); // true

We will study vectors in the future (array for one dataType only)

Search
  Page last modified on January 23, 2009, at 12:59 AM