Page 1 of 1

LB OR LBB

Posted: Sun Nov 18, 2018 1:56 am
by sarmednafi
Dear Group,

Is there a way that let me know Dose my program Run under LB OR LBB?

Regards,
Sarmed

Re: LB OR LBB

Posted: Sun Nov 18, 2018 4:33 am
by sarmednafi
Here it is, I found it.

http://www.bbcbasic.uk/lbb/oldforum/lbb ... 1478397198


What is going on? I look like that movie. NY city as it is bright but no people in it at all!!

-----

Re: LB OR LBB

Posted: Sun Nov 18, 2018 10:11 am
by guest
sarmednafi wrote: Sun Nov 18, 2018 1:56 amIs there a way that let me know Dose my program Run under LB OR LBB?
It's in the Help manual, at the end of the Compatibility section. There it says: "If, exceptionally, the only way to achieve compatibility is to use different code for LB4 and LBB you can test which platform your program is running under as follows:"

Code: Select all

if instr(Platform$, "LBB") then
  print "Running under LBB"
else
  print "Running under LB"
end if

Re: LB OR LBB

Posted: Sun Nov 18, 2018 2:52 pm
by sarmednafi
Thank you, Richard.
You are wonderful.