Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
difference between LEN in QB and FB
#1
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
he dogs bark, but the caravan keeps moving.
Reply
#2
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..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)