Single Dimentional Array

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Single Dimentional Array

Post by BarrySumpter »

Is there any way to create a single dimentional array?

ary(1) = "Batman"
ary(2) = "Robin"

Or would you have a string
ary = "Batman,Robin"
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Single Dimentional Array

Post by Klaus »

A one-dimensional array is just like a multi-dimensional array withouth the "multi" stuff:
put "Batman" into ary[1]
etc...
Post Reply