LB Booster
« Search Results »

Welcome Guest. Please Login or Register.
Jul 25th, 2017, 4:38pm


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!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
LB Umbrella forum
Liberty BASIC forum (the original)

Search Results

Total results: 10


 1   Liberty BASIC language / Re: Compatibility problem  on: Yesterday at 08:44am
Started by mmiscool | Post by tsh73
It's easy to forget that things you used to are not in fact "standard".
Nice to know that one, thanks.
 
  Reply Quote Notify of replies

 2   Liberty BASIC language / Re: Compatibility problem  on: Yesterday at 08:14am
Started by mmiscool | Post by Richard Russell
on Yesterday at 03:33am, mmiscool wrote:
I would expect the strings to concatenated with each other in the eval$() function.

No. This is what it says in the LBB help file: "The EVAL function works only with simple expressions containing 'standard' BASIC functions". The use of the semicolon to concatenate strings is far from standard, in fact as far as I know it is unique to Liberty BASIC and Just BASIC.

To make it compatible with LBB you would need to replace the semicolons with the standard means of concatenating strings in BASIC, which is the plus sign:

Code:
MYSTRING$ = CHR$(34)+"SOME TEXT"+CHR$(34)+"+"+CHR$(34)+" SOME MORE TXT"+CHR$(34)
NOTICE MYSTRING$
NOTICE EVAL$(MYSTRING$) 

Richard.
 
  Reply Quote Notify of replies

 3   Liberty BASIC language / Compatibility problem  on: Yesterday at 03:33am
Started by mmiscool | Post by mmiscool
Running the following code in LB produces different results.

Code:
MYSTRING$ = CHR$(34);"SOME TEXT";CHR$(34);";";CHR$(34);" SOME MORE TXT";CHR$(34)
NOTICE MYSTRING$
NOTICE EVAL$(MYSTRING$) 


I would expect the strings to concatenated with each other in the eval$() function.
 
  Reply Quote Notify of replies

 4   Suggestion Box / Re: "nice to have" custom icon for NOTIC  on: Jul 22nd, 2017, 3:35pm
Started by flotulopex | Post by Richard Russell
on Jul 22nd, 2017, 2:41pm, Alincon wrote:
tsh73's example is what I was thinking of.

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.

Richard.

 
  Reply Quote Notify of replies

 5   Suggestion Box / Re: "nice to have" custom icon for NOTIC  on: Jul 22nd, 2017, 2:41pm
Started by flotulopex | Post by Alincon
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.

r.m.
 
  Reply Quote Notify of replies

 6   General Board / Re: Images in this forum  on: Jul 21st, 2017, 8:35pm
Started by flotulopex | Post by Richard Russell
on Jul 21st, 2017, 3:41pm, Rod wrote:
Other folks might have better suggestions where to store the actual image.

I can't vouch for it personally, but this site is designed for that exact purpose ("Get permanent links for Facebook, Twitter, message boards and blogs"). Here's an image I uploaded there as a test:

User Image

Richard.


 
  Reply Quote Notify of replies

 7   Suggestion Box / Re: "nice to have" custom icon for NOTIC  on: Jul 21st, 2017, 5:47pm
Started by flotulopex | Post by tsh73
Something along this?

Code:
'notice x$
'produce x$ = White

x$ = "White"

call extraNotice "x$"


sub extraNotice var$
    notice var$;"=";eval$(var$)
end sub 

 
  Reply Quote Notify of replies

 8   General Board / Re: Images in this forum  on: Jul 21st, 2017, 4:50pm
Started by flotulopex | Post by flotulopex
Okay, thanks; it just confirms what I actually thought wink
 
  Reply Quote Notify of replies

 9   General Board / Re: Images in this forum  on: Jul 21st, 2017, 3:41pm
Started by flotulopex | Post by Rod
The forum does not host the actual image, that would take megabytes of storage and bandwidth. What you need to do is find somewhere to store the image and then paste the url link between the image tags.

You can get free hosting, some are intrusive, some are less so. Webs.com will let you have a web presence and allow you to store images and files to distribute and share.

Other folks might have better suggestions where to store the actual image. Conforums only needs the url link to the image.
 
  Reply Quote Notify of replies

 10   General Board / Re: Images in this forum  on: Jul 21st, 2017, 3:33pm
Started by flotulopex | Post by flotulopex
So then I'm missing something (..).

Is it a link you insert between the image tags or what?

I ment "how do I upload an image on the forum".
 
  Reply Quote Notify of replies


Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls