LB OR LBB

You can talk about anything related to LB Booster here, not covered in another category
sarmednafi
Posts: 37
Joined: Fri Apr 06, 2018 6:27 am

LB OR LBB

Post by sarmednafi »

Dear Group,

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

Regards,
Sarmed
sarmednafi
Posts: 37
Joined: Fri Apr 06, 2018 6:27 am

Re: LB OR LBB

Post 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!!

-----
guest
Site Admin
Posts: 198
Joined: Tue Apr 03, 2018 1:34 pm

Re: LB OR LBB

Post 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
sarmednafi
Posts: 37
Joined: Fri Apr 06, 2018 6:27 am

Re: LB OR LBB

Post by sarmednafi »

Thank you, Richard.
You are wonderful.