on Nov 6th, 2016, 01:53am, Alincon wrote:Is anyone using the 'Version$' statement to maintain compatibility with LB? |
|
I have done, yes, most often when opening a serial port because the syntax for the port options - other than the basic settings - is different for LB and LBB:
Code: if instr(Version$, "LBB") then
open "COM1:9600,n,8,1" for random as #serial
else
open "COM1:9600,n,8,1,ds0,cs0,rs" for random as #serial
end if
Richard.