Chris Warren-Smith
Chris Warren-Smith
What operating system are you using?
Yes, unfortunately it's a bug/oversight etc. It would probably be a lot of work to implement this so I'm not sure when I'd get time. Interestingly some people have made...
Thanks for your report. The windows version of SmallBASIC is built as a 32 bit program and the problem doesn't occur when SmallBASIC is built as a 64 bit version....
These were different incarnations/builds of the same version. I've removed the SDL and console builds.
Thanks. This must have occurred because there are PROC and FUNC versions of ENV but it's basically the same thing. I'll merge the two articles.
Yes JSON is supported. Here's an example: https://github.com/smallbasic/smallbasic.github.io/blob/58e9d03ec5260ff9c29a6067f50988e72c3cabb1/samples/node/1266.bas
Sorry for the late reply. Actually you can write JSON by passing a map variable to `STR()`, like this: ``` foo={} foo.dog = "jessie" foo.hello = "you" print str(foo) ```...
Also: another example worth examining: https://github.com/smallbasic/SmallBASIC/blob/master/samples/distro-examples/games/2048.bas It would be possible to write an extension module with more extensive JSON support.
Thanks so much for reporting this! I've seen the corresponding stack trace in the android studio reports, but never found out how to replicate it until now
The has been now been released so closing the issue as resolved.