![]() |
Forum Index : Microcontroller and PC projects : loading of constant arrays
Author | Message | ||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
How can a long constant array be loaded with data? I tried with adding the values in a few lines, but it doesn't work and generates an error "expecting a closing bracket" at the end of the first line. Loading from DATA is also not an option because is it constant. http://rittle.org -------------- |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3303 |
At the moment arrays of constants are not possible. If you are talking about initialising an array variable the initialising values must be on the one line (max 255 chars). Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |