LB Booster
« "nice to have" custom icon for NOTICE »
Welcome Guest. Please Login or Register. Apr 1st, 2018, 03:43am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
Re: "nice to have" custom icon for NOTIC
« Reply #5 on: Jul 22nd, 2017, 2:41pm »
tsh73's example is what I was thinking of. It would also be 'nice' if we could display both string and numeric items with one 'notice' command - like in the 'print' command.
So I presume his solution is acceptable. There's no point building something in that is so easily achievable with a user-defined sub or function, especially as it would result in an unnecessary incompatibility with LB 4.
Quote:
It would also be 'nice' if we could display both string and numeric items with one 'notice' command - like in the 'print' command.
Apart from options like tabbing and columnar output (which don't really apply to a MessageBox) you already can:
Code:
pi = 4*atn(1)
notice "The value of PI is ";pi
Mixing text and numbers in this way is a standard feature of Liberty BASIC.