LB OR LBB

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

LB OR LBB

Post by sarmednafi » Sun Nov 18, 2018 1:56 am

Dear Group,

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

Regards,
Sarmed

sarmednafi
Posts: 21
Joined: Fri Apr 06, 2018 6:27 am

Re: LB OR LBB

Post by sarmednafi » Sun Nov 18, 2018 4:33 am

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: 56
Joined: Tue Apr 03, 2018 1:34 pm

Re: LB OR LBB

Post by guest » Sun Nov 18, 2018 10:11 am

sarmednafi wrote:
Sun Nov 18, 2018 1:56 am
Is 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: 21
Joined: Fri Apr 06, 2018 6:27 am

Re: LB OR LBB

Post by sarmednafi » Sun Nov 18, 2018 2:52 pm

Thank you, Richard.
You are wonderful.

Post Reply