It is currently Thu Apr 27, 2017 5:35 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: New command CONSOLE.SET
Unread postPosted: Mon Apr 13, 2015 3:33 am 
Offline

Joined: Wed Feb 20, 2013 3:25 pm
Posts: 423
Location: Italy
It would be very nice and useful to create a new command (e.g. CONSOLE.SET) where all console-related settings in the Preferences pane can be set programmatically as well.
This would allow to create professional-looking programs in console mode too.
It would also give the possibility to change the console look multiple times dynamically in a BASIC! program.

The settings should apply to the console itself, to console-mode SELECT, and to TGet.

For example:
CONSOLE.SET {<text_color>},{<backgr_color>},{<line_color>},{<font_size>},{<font_typeface>},{<console_menu>},{<console_lines>},{<empty_console_color>},{<orientation>}

text_color = 0x......
backgr_color = 0x......
line_color = 0x......
font_size = 1|2|3
font_typeface = 1|2|3
console_menu = 0|1
console_lines = 0|1
empty_console_color = 0|1
orientation = 1...5

/ Luca


Last edited by luca_italy on Thu Apr 14, 2016 2:29 am, edited 7 times in total.

Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Mon Apr 13, 2015 8:01 am 
Offline

Joined: Sat May 14, 2011 7:43 am
Posts: 355
Location: South Africa, UK & US (Florida)
Yes indeed. But you omitted the very important one which I "suggested" recently:- Orientation.
Peter


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Fri May 22, 2015 9:19 am 
Offline

Joined: Wed Feb 20, 2013 3:25 pm
Posts: 423
Location: Italy
Hi Marc,

Do you think you could give priority to this new command in the upcoming release?
Actually the console remains practically unusable as an alternative user interface until we get this command...

Thanks,
/ Luca


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Tue Aug 18, 2015 5:12 am 
Offline

Joined: Wed Feb 20, 2013 3:25 pm
Posts: 423
Location: Italy
Hi Marc,

Do you think you could include this new command in v01.89?

Thanks,
Cheers,
Luca


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Tue Aug 18, 2015 11:59 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1317
Lets not forget a command to place text where we want it with a command like printat(x,y) or as with my BBC printtab(x,y)
Roy


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Tue Aug 18, 2015 3:49 pm 
Offline

Joined: Wed Oct 03, 2012 9:53 am
Posts: 2795
Location: Colorado, U.S.
Yes, thanks for the bump, Luca. I've put you off for a very long time. I've made very good progress on the infrastructure; I'll take another look.

You, too, Roy, thanks for the reminder. Whole different kind of problem.

I am extremely reluctant to make promises about changes that take a lot of time, because I am very bad at keeping them. I'll try to get these in v01.89. I'd also like to get AM.START (or whatever will replace it) fixed, fix the PRINT problem that makes functions execute twice, improve the Graphics object structure, and provide the new PAINT manipulation commands. That's a pretty tall order already, and doesn't count Daniel's repeated request for barcode support. And before any of that I have to fix the new bug! (Or bugs, if the Editor display has really gotten worse.)

So much fun! So little time!

- Marc


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Fri Jan 01, 2016 8:35 am 
Offline

Joined: Wed Feb 20, 2013 3:25 pm
Posts: 423
Location: Italy
Hi Marc,

Do you think you will manage to include this command in v1.90?

Thanks,
Happy 2016,
/ Luca


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Wed Apr 13, 2016 1:52 am 
Offline

Joined: Wed Feb 20, 2013 3:25 pm
Posts: 423
Location: Italy
Hi Marc,

Do you see any chance of including this command in v1.91?

Cheers,
/ Luca


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Tue Mar 21, 2017 12:48 am 
Offline

Joined: Wed Feb 20, 2013 3:25 pm
Posts: 423
Location: Italy
Hi Marc,

Do you think you could consider this new command for 1.92?

Luca


Report this post
Top
 Profile  
 
 Post subject: Re: New command CONSOLE.SET
Unread postPosted: Tue Mar 21, 2017 2:40 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Lol, now that is called perseverance ;)

[edit] personally I'm not a big fan of commands with a big number of parameters, all the more when they cannot be sorted easily...

Quote:
CONSOLE.SET {<text_color>},{<backgr_color>},{<line_color>},{<font_size>},{<font_typeface>},{<console_menu>},{<console_lines>},{<empty_console_color>},{<orientation>}

It's impossible to change the font typeface without looking at the manual and seing you need to put 4 empty comas before your typeface parameter.

I would be more in favor of dedicated commands:
CONSOLE.COLORS
CONSOLE.FONT.SIZE
CONSOLE.FONT.TYPE
CONSOLE.FRONT
CONSOLE.LINE.COUNT
CONSOLE.LINE.TEXT
CONSOLE.LINE.TOUCHED
CONSOLE.ORIENTATION
CONSOLE.SAVE
CONSOLE.SELECT
CONSOLE.SHOW.EMPTY
CONSOLE.SHOW.LINES
CONSOLE.TITLE

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
suspicion-preferred