Hi,
This possibly has a simple explanation, but right now I cannot find it.
I am trying to include large .wav files into a Firewing program.
If I declare them as a const array this compiles
const constarray() as integer = { 1, 3, 8, 6, 5, 7, 4, 8, 10, 50, 80000}
However, If I have a large array and have to split the file over several line breaks, the compiler throws an error thus
const constarray() as integer = { 1, 3, 8, 6, 5, 7, 4, 8,
10, 50, 80000}
I know that I can use the continuation character _ for splitting a statement over several lines, but the real problem is that I have to use a comma separated value file format from a file synthesis program which is normally formatted as 8 words per line, which can be upto 1000 bytes long.
If I have to edit the whole file with continuation characters this would be a huge task.
Also, is it possible to use include for a constant array, ie include "array.bas", or is there another way to include a data file in a program?
Any suggestions appreciated.
Roger
