LB Booster
Programming >> Liberty BASIC language >> 'include statement making development much easier http://lbb.conforums.com/index.cgi?board=lblang&action=display&num=1426682860 'include statement making development much easier
Post by mmiscool on Mar 18th, 2015, 12:47pm
Hello all,
For a long time I was running my code through a preprocess with liberty basic to ad a couple of function libraries I have put together over the years.
Now with the 'include statement implemented in LBB I am able to insert whole block of code for a GUI produced with free form.
I did some mods to free form and made it so that the produce code button saves a bas file with the same name as the GUI file you are editing in the same directory the GUI file is saved.
I can then include those bas files in my main program.
Code:
'include mainwin.bas
wait
Makes for a seamless development system.
Would any one be interested in this because I can put out the source code. I confirmed that the license is open source and that I can release my mods.
Can also make an EXE that included the necessary resource files.
Re: 'include statement making development much eas
Post by Alincon on Mar 18th, 2015, 1:33pm
I'd like to see what you have done. I'd also appreciate as much documentation as you can manage.
Thanks in advance
r.m.
Re: 'include statement making development much eas
Post by mmiscool on Mar 21st, 2015, 05:02am
New features include Unified window setting dialog (Window Title, Type and Handle) When you hit the save button it will save the the form file and a bas file in the same directory with the same name.
You can then put your main program code in that same folder and use the 'Include MyForm.bas to add it to a LBB program.