Page 1 of 1

Array of Strings

Posted: Mon Feb 27, 2012 4:26 pm
by Ondra
Good day all I like to know if it is possible to create an array of strings and could you give an example of how
this would be done. Also how would could you go about storing/indexing this data in eeprom.
example of what I would like to do.

Names[0] = "Steven"
Names[1] = "Rick"
Names[2] = "Joe"
Names[3] = "Larry"
Names[4] = "curly"



Ondra

Re: Array of Strings

Posted: Mon Feb 27, 2012 4:50 pm
by Benj
Hi Ondra,

Yep this is possible though maybe not quite as you were expecting.

Here is a post where I detail how it is done.
http://www.matrixmultimedia.com/mmforum ... =25#p32662

Re: Array of Strings

Posted: Mon Feb 27, 2012 5:17 pm
by Ondra
Thanks Ben.

Re: Array of Strings

Posted: Thu Mar 01, 2012 11:22 pm
by Spanish_dude
@Benj: Doesn't boostc support 2d arrays ?

Re: Array of Strings

Posted: Fri Mar 02, 2012 10:12 am
by Benj
Hello,

Yes BoostC does support multi-dimension arrays as long as they fit inside a single RAM or ROM page.

Flowcode however does not currently support them. Maybe a good suggestion for the list.