Forum
Embedded codes - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Wishlist (https://www.boriel.com/forum/forumdisplay.php?fid=14)
+----- Forum: Core (https://www.boriel.com/forum/forumdisplay.php?fid=19)
+----- Thread: Embedded codes (/showthread.php?tid=573)



Embedded codes - britlion - 10-28-2013

I see Battle Bunny came up with a good idea here:

http://www.worldofspectrum.org/forums/showthread.php?p=732193#post732193

I suggest we steal it, and persuade Boriel to include it in the compiler. So you can do

Print "{PAPER 3} Hello world" to embed the paper 3 in the string. Or More usefully block graphics and {C} symbol in a more logical format.

Clearly needs a way of turning on and off globally via command line, and locally or a string via some #command....

But I think it would make it easier to enter some odd codes.


Re: Embedded codes - boriel - 10-28-2013

britlion Wrote:I see Battle Bunny came up with a good idea here:

http://www.worldofspectrum.org/forums/showthread.php?p=732193#post732193

I suggest we steal it, and persuade Boriel to include it in the compiler. So you can do

Print "{PAPER 3} Hello world" to embed the paper 3 in the string. Or More usefully block graphics and {C} symbol in a more logical format.

Clearly needs a way of turning on and off globally via command line, and locally or a string via some #command....

But I think it would make it easier to enter some odd codes.
Nice idea. :!:
I never implemented the full subset of BASIN codes. This is done at the preprocessor level, not the compiler. I have stopped development since July :? due to lack of time (stopped != abandoned, ok?). Like when you dissapeared for a while when moving, I'm currently "revamping" my life too.


Re: Embedded codes - britlion - 10-31-2013

boriel Wrote:Nice idea. :!:
I never implemented the full subset of BASIN codes. This is done at the preprocessor level, not the compiler. I have stopped development since July :? due to lack of time (stopped != abandoned, ok?). Like when you dissapeared for a while when moving, I'm currently "revamping" my life too.

Yes - it has been quiet for a while! Glad to hear you're safe and well, at least. And life does get in the way of hobbies.

For example, I'm getting married. Today, actually....

Just reading forums to sort of distract myself a bit while waiting for time to leave Smile


Re: Embedded codes - boriel - 10-31-2013

britlion Wrote:For example, I'm getting married. Today, actually....

Just reading forums to sort of distract myself a bit while waiting for time to leave Smile
Rolleyes Really??

Hey, congratulations!!! Heart Smile


Re: Embedded codes - LCD - 11-02-2013

britlion Wrote:For example, I'm getting married. Today, actually....

Just reading forums to sort of distract myself a bit while waiting for time to leave Smile
Rolleyes
I wish you ethernal luck with her.