Mastering Liberty BASIC 3
an Electronic Book
No longer available. Please click the link below for a new version.
" Mastering Liberty BASIC 3 " is a detailed reference work for Liberty BASIC 3. It is available in three formats. It is available as a traditional Windows Helpfile for use at the PC. It is also available in PDF format, viewable by the [Free Adobe Acrobat Reader] which you must have installed in order to use this format. It is also available as compiled HTML help.
The electronic book is contained in self-extracting installation files that are password-protected. You must register this product to receive a password that will allow you to install the files.
The updated version uses the same installation password as the original version, so registered users receive this update free of charge. This version contains some corrections and a new section on modifying Liberty BASIC controls with API calls.
DOWNLOAD
No longer available.
- It is available as a CHM help file, standard HLP help file, or Adobe Acrobat (PDF). I use the PDF version.
- MLB contains over 500 printed pages of useful information, tips, example code, and more.
- It is organized so that one can quickly find what one needs. For instance, I wanted to find code for playing an MP3 file. It took less than one minute to load the file, go to the correct chapter and cut and paste the example code into Liberty BASIC Workshop (another Alyce Watson creation).
- MLB is a tutorial for the novice programmer and a handy detailed reference for the most experienced programmer (regardless of your language of choice).
- In short, Mastering Liberty BASIC is the most comprehensive Liberty BASIC reference available. This was obviously a labor of love for Alyce. I highly recommend it. Have you seen the cost of programming books lately? ... Mastering Liberty BASIC is only $15.00. Definitely a bargain.
This has been an unsolicted review. - David Drake
"Your e-book is great. It already solved several problems I had and I see another usage for a future project." - Don H.
"I was the first one to purchase "Mastering Liberty Basic 3". If you are going to do any programming with LB3 this e-book is a must!!!!!! Whether you are a newbie or a seasoned veteran, there is something here for everyone. Alyce is not too good at blowing her own horn so i am telling you this is an excellent work. Those of you who know her work, know she strives for excellence in all she does. Not only is she smart, but she can make the most complicated issues in programming simple to understand. Spend the money! Get the book! Do it now! It will be a reference you will turn to again and again." - Eldron Gill
"If LB3 gets you driving, Alyce's ebook gets you setting up your own car factory!", "It definitely shows that it is a labour of love. Whenever I am tempted to ask for assistance I first look in the help file and will now look in your ebook. What really struck me about the ebook, was the way that you managed to put in so much of your hard won knowledge and techniques for accomplishing tasks." - David Docker
"I registered Mastering LB 3 yesterday and already feel I have got my money's worth from it. I'll feel like a thief as I continue thru the second half of the ebook. ...thank you for creating such a treasure-filled reference source for LB 3 users. And specifically, for making the use of API calls seem easy rather than something for the novice to fear. BTW - on a side note my family is not quite as happy about your ebook as I am, it seems they're afraid of losing all my free time to LB now... Your ebook has already made an impact on my use of LB 3, and given me a much clearer understanding of just what LB 3 can do, and maybe more importantly how and why it does it. I think every new LB 3 user would benefit from your ebook in the same way." - Scott
"I have finally given way to good sense and bought your 'Mastering LB' eBook. ... The book ought to be called 'Masterpiece of LB3', it is brilliant. ... The section on API's is a triumph of clarity. Well done." - CN
CONTENTS
Mastering Liberty BASIC 3
- Introduction
- Legal Notice
- Getting Started
Part One - Tutorials
The Fundamentals
- Your First Program!
- User Input and Variables
- Math and Numeric Variables
- Arrays are Lists
- Looping and Arrays
- Labels and Goto
- If -- Evaluating Expressions
- Programming in Windows
- Fun Stuff
Files on Disk
- Types of Disk Files
- Sequential Files
- Random Access Files
- Binary Files
- FILES Information
Graphics
- Turtle Graphics
- Use of Color
- The Colordialog
- Bitmap Graphics
- Bitmap Color Formats
- Bitmap Dimensions
- Drawing Rules
- Drawn Objects
- Graphics and Text
- Trapping Mouse and Keyboard Events
- Segments and Flushing
- Loading Images
Sprite BASICs
- Sprite Animation
- Sprite Commands
- What is a Sprite?
- How Do Sprites Work?
- Start with the Background
- Designate Sprites
- Sprite Properites
- Drawing and Collision Detection
- Flushing Sprite Graphics
- Pauses and Timing
- Add a Mask
- Step by Step
- Simple Demo Program
Game Creation
- Game Logic
- Game Outline
- Keyboard Input
- Mouse Input
- Using Arrays
- Shooting
- Scoring and Collision Detection
Part Two - Liberty BASIC Reference
- Structure and Logic Reference
- Variables and Constants
- Arrays
- Structure and Branch Labels
- Gosubs, Subprograms and Functions
- Looping
- I f/Then and Boolean Operators
- Select Case
- Bitwise Operations
Window Reference
- Windows
- Window Types
- Window Size and Placement
- Window Colors
- Dialogs
- Notice
- Prompt
- Confirm
- Common Dialogs
- Sounds
- Cursors
- Timer
Control Reference
- Controls
- Menus
- Buttons
- Radiobuttons and Groupboxes
- Checkboxes
- Listboxes
- Comboboxes
- Statictext
- Textboxes
- Texteditors
- Text and Clipboard Functions
- Graphicboxes
Graphics Functions
- Graphics Functions
- Bitmaps
- Graphic Text
- Mouse and Keyboard Events
- Graphics Commands
- Sprite Command List
Math Functions
- Math Functions
- Arithmetic
- Trig Functions
Managing Data
- String Functions
- Data Management
- Files, Drives and Directories
- File Input
- File Output and Append
- Random Files
- Date and Time
- Communications Functions
Program Management
- Commands
- Command List
- Comments
- Liberty BASIC Variables
- The Liberty BASIC Editor
- Running Programs
- Debug
- CommandLine$
- Distribute Programs
- Icon Editor
Part Three - Using Dynamic Link Libraries
- API Fundamentals
- Making API Calls
- Translating Calls to LB Syntax
- The Windows API in Action
- Callbacks and the Timer
Menus, Files and Icons
- Menu Manipulations
- Files and Dialogs
- Icons
- Icon Demo 1
- Icon Demo 2
Modifying LB Windows and Controls
- Window Size and Location
- Change Window Caption
- Shaped Window
- Button States
- Color Matched Bmpbuttons
- Remove Border
- Textbox with Input Limit
- Listbox with Horizontal Scroll
GDI
- Graphics Device Interface
- Pens and Brushes
- Moving the Origin
- Drawing Points and Lines
- Drawing Objects
- Working with Regions
- Image Manipulations
- CreateFont
- Painting with Text
- Text Paths
- Memory Device Contexts
- Printing Functions
- Printing Demo
Multimedia
- Multimedia
- MCI Send String
- Open
- Play
- Close
- Pause/Resume
- Window Command
- Set
- Status
- Time Format
- AVI Demos
- CD and Joystick Demos
- Midi Demos
- MP3 and MPG Demos
- WAV Demos
Windows Controls
- Creating and Using Custom Controls
- Statictext by API
- Buttons by API
- Edit Controls by API
- Text Editor by API
Common Controls
- Windows Common Controls
- Animation Control
- Animation Control Demo
- Date-Time Picker
- Calendar Demo
- Time-Picker Demo
- Listview
- Listview Demo
- Progress Bar
- Progress Demo
- Slider (Trackbar)
- Slider Demo 1
- Slider Demo 2
- Spinner (UpDown Control)
- Spinner Demo
- Status Bar
- Status Demo 1
- Status Demo 2
- Tab Control
- Tab Control Demo
- Toolbar
- Toolbar Demo 1
- Toolbar Demo 2
- Tooltips
- Tooltip Demo 1
- Tooltip Demo 2
- Tree-views and ImageLists
- Tree-view Demo
ERRATA
Tutorials - Files on Disk - Random Files
Incorrect, in Demo:
OPEN "test.dat" FOR RANDOM AS #n LEN=20
FIELD #n,_ ' set up the fields for file opened as #1
10 AS first$,_ ' 1st 10 bytes contain first name
10 AS last$,_ ' 2nd 10 bytes contain last name
Correct in Demo:
OPEN "test.dat" FOR RANDOM AS #n LEN=20
FIELD #n,_ ' set up the fields for file opened as #1
10 AS first$,_ ' 1st 10 bytes contain first name
10 AS last$ ' 2nd 10 bytes contain last name
© 1999 - 2003, Alyce Watson