Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature: Italics!
#1
I was rummaging through the .asm code, and I note it's pretty well optimized - though I can see places that could be neater. But that's for another time.

I noticed one of the runtime code blocks was labelled Italics..

So, curious, I tried compiling:

PRINT ITALIC 1; "Italics?"

And it worked perfectly! This isn't documented anywhere! What an awesome little addition to the language.
(It prints the text with the top a pixel to the right and the bottom a pixel to the left, and the middle left alone)

This should probably be added to the reserved words list.
Reply
#2
Yes, and BOLD is also implemented:

PRINT BOLD 1; "HELLO"
should also work.
Reply
#3
Yes, I remember, it was in a change log. Very nice feature. But setting it globally does not work:
Code:
BOLD 1:PRINT "Anything"
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#4
LCD Wrote:Yes, I remember, it was in a change log. Very nice feature. But setting it globally does not work:
Code:
BOLD 1:PRINT "Anything"
It should. If not, it is a *bug*.
Let me check it...

Update: Ooops :oops: Yep, it's a bug. Let me fix it... It will be fixed in the 1.1.7 release.
Reply
#5
Oh, I believed, it was supposed to work only with PRINT Big Grin.
Btw: I think, you should add BOLD, ITALICS, SHL and SHR to the list of reserved keywords on your homepage (Have I missed something).
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#6
*heh* How cool is that?

And I'm glad I brought it up then. BOLD as well as italics. Awesome.
Reply
#7
LCD Wrote:Oh, I believed, it was supposed to work only with PRINT Big Grin.
Btw: I think, you should add BOLD, ITALICS, SHL and SHR to the list of reserved keywords on your homepage (Have I missed something).

Hey LCD. I edited the page to sneak in BOLD and ITALICS, so poor overworked Boriel doesn't have to. We can actually help document this thing for poor users ahead of us!

So... what are SHL and SHR? Sound like some sort of left and right bitshift...

--> Goes off to experiment <--
Reply
#8
britlion Wrote:
LCD Wrote:Oh, I believed, it was supposed to work only with PRINT Big Grin.
Btw: I think, you should add BOLD, ITALICS, SHL and SHR to the list of reserved keywords on your homepage (Have I missed something).

Hey LCD. I edited the page to sneak in BOLD and ITALICS, so poor overworked Boriel doesn't have to. We can actually help document this thing for poor users ahead of us!

So... what are SHL and SHR? Sound like some sort of left and right bitshift...

--> Goes off to experiment <--
You can edit the Wiki? OK. I'm impressed Maybe because I never tried it.

SHL and SHR are, as you believe, binary Shift Left and Right.

I hope, next version will support BAND, BOR and BXOR (Binary AND, OR and XOR).
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#9
just a correction from someone studied typography history and design: in this topic you all are talking about obliques, not italics - http://en.wikipedia.org/wiki/Italic_type
Reply
#10
Ouch! :oops:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)