|
Post by rosy on Aug 20, 2021 9:39:34 GMT -6
18th wish. For example, the command WindowOpen 1 - would cause the opening of the window number 1 in the center of the size 640x400, title "rc basic", vsync = 1
So the missing values were put at default.
It is a pity that it was not done so right away, because e.g. the size of the window should be given at the beginning (as more important, changed more often). But you could do something like this: WindowOpen (1, w = 640, h = 400)
|
|
|
Post by n00b on Aug 23, 2021 12:56:34 GMT -6
Currently the parser does not support optional arguments. Its pretty bare bones. I will consider this for a future release. The next release is probably going to be pure maintenance since I added so much in this one. I want all the current features to be as stable as a rock before I add more stuff.
|
|
|
Post by johnno56 on Aug 23, 2021 15:01:06 GMT -6
N00b... You are aware of what you are saying? If RC is potentially 'unstable', then logic dictates that, as the program is a reflection of the programmer, ergo the programmer is potentially unstable... lol If that is so, then I have come to the right place... Moo Ha Ha...
|
|
|
Post by n00b on Aug 24, 2021 1:49:50 GMT -6
johnno56 It's definitely gonna be more stable than I am.
|
|
|
Post by rosy on Sept 22, 2021 4:31:00 GMT -6
19. Extended arrays
Further ideas related to arrays and the lack of control of their crossing:
I propose to add a command, where the programmer introduces the lower and upper limits of access to the arrays, when trying to change the value with an index outside this limit, an error would be displayed.
Another thing is the ability to specify the lower range of the array as well.
For example, instead of Dim a [10] it can be Dim a [-5..5]
and then ... Border a [-4,4]
|
|