LB Booster
« 'include statement making development much easier »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:23am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: 'include statement making development much easier  (Read 352 times)
mmiscool
New Member
Image


member is offline

Avatar




PM


Posts: 19
xx 'include statement making development much easier
« Thread started 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.

User IP Logged

Alincon
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 147
xx Re: 'include statement making development much eas
« Reply #1 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.
User IP Logged

mmiscool
New Member
Image


member is offline

Avatar




PM


Posts: 19
xx Re: 'include statement making development much eas
« Reply #2 on: Mar 21st, 2015, 05:02am »

https://drive.google.com/a/smbisoft.com/file/d/0B0Hw9aaC05huUW9NaGJRWXZxakU/view?usp=sharing


Above is the link to download the EXE with embed resource files (Thanks to the embed resource files on compile tool included with LBB)

Source code is at the following link.

http://www.smbisoft.com/fun-projects-don-t-look/file/fformj10.bas?attredirects=0&d=1

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.


User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls