Problem with parameter to a SuperBASIC machine code extension

Anything QL Software or Programming Related.
swensont
Forum Moderator
Posts: 330
Joined: Tue Dec 06, 2011 3:30 am
Location: SF Bay Area
Contact:

Re: Problem with parameter to a SuperBASIC machine code extension

Post by swensont »

> BTW: Has anyone tried to run my reflection toolkit with compiled code (IMHO NO chance with Turbo and most probably also not even with QLiberator).

I've not tried your toolkit, mostly because I don't care about line number with SuperBasic. I write all SuperBasic without line numbers and let my pre-processor do all of the dirty work. The code looks so much better with no line numbers. I can't imagine programming with C, Pascal, Perl, or awk with line numbers, so why do it with SuperBasic. (just my 2 cents).

Tim


User avatar
NormanDunbar
Forum Moderator
Posts: 2499
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: Problem with parameter to a SuperBASIC machine code extension

Post by NormanDunbar »

What Tim said! I haven't used line numbers in Super basic for ages!

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
ql_freak
Super Gold Card
Posts: 595
Joined: Sun Jan 18, 2015 1:29 am

Re: Problem with parameter to a SuperBASIC machine code extension

Post by ql_freak »

Good news:

Today I finished the "main" program of the missing function, and it seems to work.

Bad News:

I'm programming top (mostly very easy) down (mostly very complicated) and the 2 (assembler) subroutines, which do the real work, must still be written (they are currently only dummies, but at least they are called from the main program[!]).


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Post Reply