Search found 210 matches
- Mon Apr 09, 2018 2:23 pm
- Forum: Language extensions
- Topic: Creating a grid of controls
- Replies: 0
- Views: 17066
Creating a grid of controls
(copied from the old forum) In LB 4.04 and 4.51 it is not possible to create a grid of child controls using a loop; every control must be created individually, and with a large grid that can mean a lot of code! In LBB it is straightforward using MAPHANDLE: for row = 1 to 13 statictext #win.st, str$(...
- Mon Apr 09, 2018 2:06 pm
- Forum: Language extensions
- Topic: DATE$ formats
- Replies: 0
- Views: 16448
DATE$ formats
(copied from the old forum) In LB4 DATE$ provides only three formats for returning the date as a string: print date$("mm/dd/yyyy") ' 01/30/2012 print date$("mm/dd/yy") ' 01/30/12 print date$("yyyy/mm/dd") ' 2012/01/30 LBB is more flexible, it will return the date in any...
- Mon Apr 09, 2018 2:01 pm
- Forum: Language extensions
- Topic: USING formats
- Replies: 0
- Views: 15561
USING formats
(copied from the old forum) LB4's USING() function doesn't support the full range of formatting options usually available from PRINT USING in other dialects of BASIC. LBB provides a much more complete set, as follows: # The hash character is used to represent a digit position. + A plus sign at the b...
- Mon Apr 09, 2018 1:36 pm
- Forum: Language extensions
- Topic: Partially-transparent sprites
- Replies: 0
- Views: 17000
Partially-transparent sprites
(copied from the old forum) All the sprite examples in the LB docs show the upper half of the BMP (the 'mask' section) as a 'one bit per pixel' bitmap; that is every pixel is either white (fully transparent) or black (fully opaque); the implication is that this is all that LB supports. However in pr...
- Mon Apr 09, 2018 1:27 pm
- Forum: Language extensions
- Topic: Resizehandler for graphics windows
- Replies: 0
- Views: 15740
Resizehandler for graphics windows
(copied from the old forum) In LB 4.04 and 4.5.1 the RESIZEHANDLER command doesn't work in a graphics window. This seems a strange limitation; in LBB you can use RESIZEHANDLER with a graphics window just as you can with every other (non-dialog) kind of window: open "Resize test" for graphi...
- Mon Apr 09, 2018 1:24 pm
- Forum: Language extensions
- Topic: High-precision scientific notation
- Replies: 0
- Views: 15809
High-precision scientific notation
(copied from the old forum) LB 4 (including 4.5.1) performs floating-point arithmetic internally with a precision of approximately 15 to 16 significant figures, which should be good enough for most applications. But, strangely, if the calculation returns a value that must be represented in scientifi...
- Mon Apr 09, 2018 1:15 pm
- Forum: Showcase
- Topic: Cabinet Planner
- Replies: 0
- Views: 15529
Cabinet Planner
(copied from the old forum) Cabinet Planner, by Robert McAllister, is probably the largest Liberty BASIC program ever written, and without doubt the largest program ever to have been compiled using 'LB Booster'! It consists of three modules totalling more than 100,000 lines of LB code, with the larg...
- Sun Apr 08, 2018 11:00 pm
- Forum: General Board
- Topic: Forum features
- Replies: 2
- Views: 9227
Re: Forum features
Thank you Richard. I was looking for "Recent posts" button for a while. The '10 most recent posts' feature at Conforums was never reliable. Sometimes posts would not appear there at all, and if activity was high posts could get pushed off that list before you ever saw them. I prefer the '...
- Sun Apr 08, 2018 7:23 pm
- Forum: General Board
- Topic: Technical Wiki
- Replies: 11
- Views: 34682
- Sun Apr 08, 2018 5:09 pm
- Forum: General Board
- Topic: Forum features
- Replies: 2
- Views: 9227
Forum features
The new forum has lots of nice features, but they aren't always obvious. One that you might have missed is the 'Quick links' button in the top-left corner under the LBB logo. One of those links is to 'Unread posts' so you can quickly find topics that have been updated since your last visit, without ...