Qbasicnews.com

Full Version: difference between LEN in QB and FB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I just found this little difference:

in QuickBASIC I can write
Code:
?LEN(A$+B$)
But this doesn't work in FreeBASIC so that you have to write
Code:
?len(A$)+len(B$)

Mecki
Fixed, that should be allowed, but as LEN allows quirk things like len( array ) -- ie, w/o indexes, i broke the string concatenation support. Btw, you can't rebuild the compiler using the old versions, due a chicken-egg problem, you will have to wait for the next release, sorry..