![]() |
Forum Index : Microcontroller and PC projects : const vs dim in mmbasic.exe
Author | Message | ||||
crez![]() Senior Member ![]() Joined: 24/10/2012 Location: AustraliaPosts: 152 |
the line Dim test%(5)=(1,2,3,4,5,6) produces no error, but Const test%(5)=(1,2,3,4,5,6) gives Error: No closing bracket Strange? mm.ver = 5.04.06 and the previous one |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I don't think you can have arrays of CONSTANTS VK7JH MMedit |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
Jim is right. It is something that is on my ToDo list but the way that MMBasic process arrays makes it difficult Geoff. Geoff Graham - http://geoffg.net |
||||
crez![]() Senior Member ![]() Joined: 24/10/2012 Location: AustraliaPosts: 152 |
Thanks Guys, I wasn't aware of that minor limitation. David |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |