FAQ  •  Register  •  Login

Feature: Italics!

<<

britlion

Posts: 720

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Wed Apr 29, 2009 12:09 pm

Feature: Italics!

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.
<<

boriel

Site Admin

Posts: 1236

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Apr 29, 2009 12:15 pm

Re: Feature: Italics!

Yes, and BOLD is also implemented:

PRINT BOLD 1; "HELLO"
should also work.
<<

LCD

Posts: 562

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Wed Apr 29, 2009 4:05 pm

Re: Feature: Italics!

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!
<<

boriel

Site Admin

Posts: 1236

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Apr 29, 2009 4:31 pm

Re: Feature: Italics!

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.
<<

LCD

Posts: 562

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Wed Apr 29, 2009 5:42 pm

Re: Feature: Italics!

Oh, I believed, it was supposed to work only with PRINT :D.
Btw: I think, you should add BOLD, ITALICS, SHL and SHR to the list of reserved keywords on your homepage (Have I missed something).
Last edited by LCD on Wed Apr 29, 2009 6:08 pm, edited 1 time in total.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

britlion

Posts: 720

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Wed Apr 29, 2009 5:58 pm

Re: Feature: Italics!

*heh* How cool is that?

And I'm glad I brought it up then. BOLD as well as italics. Awesome.
<<

britlion

Posts: 720

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Wed Apr 29, 2009 8:21 pm

Re: Feature: Italics!

LCD wrote:Oh, I believed, it was supposed to work only with PRINT :D.
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 <--
<<

LCD

Posts: 562

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Wed Apr 29, 2009 9:17 pm

Re: Feature: Italics!

britlion wrote:
LCD wrote:Oh, I believed, it was supposed to work only with PRINT :D.
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!
<<

nitrofurano

Posts: 169

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Thu Sep 29, 2011 2:53 pm

Re: Feature: Italics!

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
<<

boriel

Site Admin

Posts: 1236

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Fri Sep 30, 2011 7:40 pm

Re: Feature: Italics!

Ouch! :oops:

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO