Print statement and window

Write your ideas what you would like to have in Objective-Basic

Print statement and window

Postby udo.killermann » Wed Feb 23, 2011 8:52 am

Bernd,

it would be nice to have a Print statement like Basic had in the old days. All that would be needed is a window where this output is directed to. The output should be accumulated during the program execution. The window itself should have a boolean Show property.
I could do this on my own but I think it would be handy for beginners (pros as well) to have this facility built into the ObjB runtime classes resp. objects.

BTW: The Log command is helpful in the beginning, but I think it pollutes the system log. Regular output of an application should (in my opinion) be directed to the system log only if the user sets a certain log level for diagnostic reasons or an error condition occurs. Log feels "artificial" to me and Alert is only one shot without any memory.

Regards
Udo
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Re: Print statement and window

Postby berndnoetscher » Wed Feb 23, 2011 1:46 pm

udo.killermann wrote:Bernd,

it would be nice to have a Print statement like Basic had in the old days. All that would be needed is a window where this output is directed to. The output should be accumulated during the program execution. The window itself should have a boolean Show property.
I could do this on my own but I think it would be handy for beginners (pros as well) to have this facility built into the ObjB runtime classes resp. objects.

BTW: The Log command is helpful in the beginning, but I think it pollutes the system log. Regular output of an application should (in my opinion) be directed to the system log only if the user sets a certain log level for diagnostic reasons or an error condition occurs. Log feels "artificial" to me and Alert is only one shot without any memory.

Regards
Udo


Udo,
I agree. I will do this:

? and Print used to show on a window screen like in qbasic and kbasic.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

Re: Print statement and window

Postby udo.killermann » Thu Feb 24, 2011 7:43 am

Bernd,

thanks!

Regards
Udo
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Re: Print statement and window

Postby udo.killermann » Thu Feb 24, 2011 7:45 am

Bernd,

what would you think of having an inline Input facility as well (perhaps inside the print window)? Some primitives would help for fast hacks ;) or for early experiments with language features.

Regards
Udo
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Re: Print statement and window

Postby berndnoetscher » Thu Feb 24, 2011 9:42 am

udo.killermann wrote:Bernd,

what would you think of having an inline Input facility as well (perhaps inside the print window)? Some primitives would help for fast hacks ;) or for early experiments with language features.

Regards
Udo


This is related to the debugger. It needs some time to your suggestion this, so I don't know when it will be implemented.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am


Return to Wish List (Xcode 3)

Who is online

Users browsing this forum: No registered users and 1 guest