Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:37 18 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : loading of constant arrays

Author Message
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 11:51pm 18 Oct 2015
Copy link to clipboard 
Print this post

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.
Edited by kiiid 2015-10-20
http://rittle.org

--------------
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3303
Posted: 11:53pm 18 Oct 2015
Copy link to clipboard 
Print this post

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).Edited by Geoffg 2015-10-20
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025