Search found 1316 matches
- Fri Jul 10, 2020 5:37 pm
- Forum: Software & Programming
- Topic: Development Systems and Created Code (reentrant, ROMable, ...)
- Replies: 27
- Views: 7748
Re: Development Systems and Created Code (reentrant, ROMable, ...)
The info is certainly not complete, but then I was just trying to clear up a few points that seemed to be causing confusion in the ranks. Things and Hotkeys seem to me to be much underappreciated - largely because these "novel" concepts are not well understood. No wonder, perhaps, as what ...
- Fri Jul 10, 2020 5:30 pm
- Forum: Software & Programming
- Topic: SuperBASIC function for type validation
- Replies: 12
- Views: 4003
Re: SuperBASIC function for type validation
I cant remember whether or not WHEN ERRor is part of SuperBASIC. Q-Liberator has its own variant, as does Turbo. Personally I prefer my own VALID% toolkit function (naturally): ok% = VALID%(expected_type%, <variable or expression>) It uses the standard Qdos calls to try to fetch the variable/express...
- Thu Jul 09, 2020 12:59 pm
- Forum: Software & Programming
- Topic: Development Systems and Created Code (reentrant, ROMable, ...)
- Replies: 27
- Views: 7748
Re: Development Systems and Created Code (reentrant, ROMable, ...)
The following information may or may not be clear from the documentation. I have gathered this through observation and testing, not by reviewing the code. Please correct anything you know to be wrong: Command type Self modifying Copies in memory HOT_RES/HOT_CHP impure N + 1 HOT_LOAD pure/impure N H...
- Thu Jul 09, 2020 12:48 pm
- Forum: Software & Programming
- Topic: SuperBASIC function for type validation
- Replies: 12
- Views: 4003
Re: SuperBASIC function for type validation
Ive never been fond of WHEN ERRor. I just use it as a last resort. Perhaps this is because of all the problems the various implementation had in their early incarnations. But even now there are tricky issues to beware of. Viz: 1000 WHEN ERRor 1010 PRINT "That was not a number!" 1020 CONTIN...
- Wed Jul 08, 2020 2:33 pm
- Forum: Software & Programming
- Topic: Development Systems and Created Code (reentrant, ROMable, ...)
- Replies: 27
- Views: 7748
Re: Development Systems and Created Code (reentrant, ROMable, ...)
I have it on a HOT_LOAD key, and just now disproved the assumption made in my previous message: Each HOT_LOAD instance loads a new copy of the program. (Funny the need was felt to add, and document, the "I" (for impure) parameter for HOT_LOAD then, as it doesnt make any sense.) Of course ...
- Tue Jul 07, 2020 11:00 pm
- Forum: Software & Programming
- Topic: Development Systems and Created Code (reentrant, ROMable, ...)
- Replies: 27
- Views: 7748
Re: Development Systems and Created Code (reentrant, ROMable, ...)
BTW, where is "Thing" officially defined. I just looked through Dilwyn's SMSQ/E link and it refers to it but there doesn't seem to be a "a Thing is a blah, blah, blah" so one can get their bearings. The Hotkey system depends largely on Things, but not vice versa. Youll find both...
- Tue Jul 07, 2020 10:51 pm
- Forum: Software & Programming
- Topic: Development Systems and Created Code (reentrant, ROMable, ...)
- Replies: 27
- Views: 7748
Re: Development Systems and Created Code (reentrant, ROMable, ...)
I do not agree. An example is e.g. The Editor. It's a very good editor (the only one supporting column blocks afaik), but it has the disadvantage (e.g. compared to MasterSpy) that it can only edit one file, and it's not reentrant. If you want to edit more files, you must start a full copy for every...
- Tue Jul 07, 2020 10:10 pm
- Forum: Software & Programming
- Topic: Development Systems and Created Code (reentrant, ROMable, ...)
- Replies: 27
- Views: 7748
Re: Development Systems and Created Code (reentrant, ROMable, ...)
I don't know or use the hotkey systems but pjw pointed out: On a Hotkey which loads the code into memory, you will always have N + 1 copies of the code in memory, where N is the number of copies of the code actually executing. So doesn't this suggest even with Hotkey you are not saving memory? The ...
- Mon Jul 06, 2020 12:30 am
- Forum: Software & Programming
- Topic: EJC (C-Compiler) experiments
- Replies: 53
- Views: 16105
Re: EJC (C-Compiler) experiments
Nice one, ql-freak :) Of course theres a whole lot more going on in the 20k code than your 33 lines.. but let me not rain on your picnic. A val function has often been missed in SuperBASIC. One can achieve something similar now by using a slave SBASIC. But not with 16 digit precision! I know its onl...
- Sun Jul 05, 2020 12:45 pm
- Forum: Software & Programming
- Topic: EJC (C-Compiler) experiments
- Replies: 53
- Views: 16105
Re: EJC (C-Compiler) experiments
Good summary, Per. That's my understanding as well.<> Thanks, Tobias. Your own comments are usually highly knowledgable and clarifying, and very often more precise than any I could make. Which reminds me: In my comment above I meant to say "I assume that programs written in higher level langua...