Bob's your uncle
Pages: 1 2
Steve Drain (222) 1620 posts |
Do you think a BASIC function, doing no more than call some SWIs, fails to do this? |
David J. Ruck (33) 1629 posts |
Its should really be an integral part of the language. |
Steve Drain (222) 1620 posts |
Of course – see Basalt. ;-) |
Rick Murray (539) 13806 posts |
Secondly it needs proper dynamic memory support, without any nasty hacks. Do you think a BASIC function, doing no more than call some SWIs, fails to do this? Yes. We need, at least, |
Steve Drain (222) 1620 posts |
Yes it is, as much as dealing with the Wimp is. We have libraries for just this purpose. But if you want it all behind a keyword then: DIM HIMEM dynamic% 1023:REM claim DIM HIMEM dynamic% 511:REM redim DIM HIMEM dynamic% -1:REM undim I also offer you: DIM HIMEM dynamic%(1023) DIM HIMEM dynamic%(511) DIM HIMEM dynamic%(-1) |
Steve Fryatt (216) 2103 posts |
Presumably it could just do what other languages have done for years, and allow nested structures? A WindowInfo block contains a window handle and a Window block. The Window block, in turn, contains a number of fields and then zero or more Icon blocks. And so on. |
Steve Drain (222) 1620 posts |
Yup! |
Steffen Huber (91) 1949 posts |
Of course we all wait for Daryl releasing the first stable version of DARIC (or maybe even help him with a few pull requests), because it will become the new BBC BASIC. Just a lot better. Everyone who has not heard of DARIC: watch the video from Daryl’s ROUGOL talk as soon as it is available. In the meantime, read the code: https://github.com/zolbatar/Daric Or read a short summary here (German, use translation tool of choice): http://riscosblog.huber-net.de/2021/03/interessante-projekte-heute-daric-von-daryl-dudey/ |
Pages: 1 2