referencing arrays

rand valentine jrvalent at wisc.edu
Sun Nov 2 15:19:21 EST 2003


   Hi, I have a simple question, and my apologies to the gurus for 
taking your time -- i still can't search the archives.

   I have a set of arrays, titled arrayN, arrayV, arrayA

   I want to be able to build the name of the array I need to refer to 
on the fly, e.g.,

  put "array" & "N" into theArrayName

  put theArrayName["@"]

  this does not work -- using a variable for the name of the array 
causes the array not to be properly referenced. What am I doing wrong, 
or what can one do to actually build an array reference of this sort 
that works?

rand valentine



More information about the use-livecode mailing list