![]() |
Error: STRING CONSTant (solved) - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: Error: STRING CONSTant (solved) (/showthread.php?tid=2404) |
Error: STRING CONSTant (solved) - zarsoft - 06-03-2023 This line: CONST E$ TYPE STRING = "..." Gives this error: "Initializer expression is not constant." RE: Error: STRING CONSTant - boriel - 06-04-2023 This is a BUG. Thanks for reporting it. Will keep you updated. That said, the correct syntax is: Code: CONST E As String = "..." RE: Error: STRING CONSTant - boriel - 08-30-2023 Ok, here's a beta with the fix. Let me know if it works for you: http://www.boriel.com/files/zxb/zxbasic-1.17.1-beta2.tar.gz http://www.boriel.com/files/zxb/zxbasic-1.17.1-beta2.zip http://www.boriel.com/files/zxb/zxbasic-1.17.1-beta2-win32.zip http://www.boriel.com/files/zxb/zxbasic-1.17.1-beta2-linux64.tar.gz http://www.boriel.com/files/zxb/zxbasic-1.17.1-beta2-macos.tar.gz RE: Error: STRING CONSTant - zarsoft - 11-08-2023 works, thanks RE: Error: STRING CONSTant (solved) - boriel - 11-12-2023 Please use the latest beta from the other thread, not this one. This fix was already released in final version. RE: Error: STRING CONSTant (solved) - zarsoft - 11-12-2023 OK Thanks. Is there any way for me to receive notification whenever a new version comes out? What is the thread that announces new versions? RE: Error: STRING CONSTant (solved) - boriel - 11-12-2023 We have a Telegram Channel (Spanish, mostly) for that, mostly for beta versions. For final versions,. you can track Mastodon official account: https://fosstodon.org/@zxbasic since I've decided to left Twitter (now X) Also there's #boriel channel in Discord ZX Next official. RE: Error: STRING CONSTant (solved) - zarsoft - 11-12-2023 Most of the updates are made because of the Wishlist forum or the Bug Reports forum. Forum › Compilers and Computer Languages › ZX Basic Compiler › Wishlist Forum › Compilers and Computer Languages › ZX Basic Compiler › Bug Reports For me it would be simpler if the new versions were announced here. So, all I had to do was subscribe to the Wishlist forum or the Bug Reports forum to find out when the new versions were available. |