10-15-2024, 09:11 AM
Hi Kristian,
your idea would also enable another great application.
It could also convert a SmallBasic program into a C# program that can be further processed in a C# IDE.
Small Basic can therefore export to VB.NET and Open Small Basic to C#.
My comment on your devil's work$:
If all variables in Open Small Basic require a postfix $, all of the previous Small Basic source code would not run.
Conversely, the Open Small Basic source code does not run in Small Basic and Small Basic Prime because variable names with $ are not allowed there. So far I only know the postfix $ in Basic as an identifier for string variables (Liberty Basic,...). It would be a nice extension of Open Small Basic to use the postfix $ to set a variable to string so that no complicated constructions are necessary when assembling strings.
Have fun and perseverance in realizing your idea
Scout
your idea would also enable another great application.
It could also convert a SmallBasic program into a C# program that can be further processed in a C# IDE.
Small Basic can therefore export to VB.NET and Open Small Basic to C#.
My comment on your devil's work$:
If all variables in Open Small Basic require a postfix $, all of the previous Small Basic source code would not run.
Conversely, the Open Small Basic source code does not run in Small Basic and Small Basic Prime because variable names with $ are not allowed there. So far I only know the postfix $ in Basic as an identifier for string variables (Liberty Basic,...). It would be a nice extension of Open Small Basic to use the postfix $ to set a variable to string so that no complicated constructions are necessary when assembling strings.
Have fun and perseverance in realizing your idea
Scout