Search found 193 matches
- Wed Mar 03, 2021 7:28 pm
- Forum: Liberty BASIC Language
- Topic: Using GOTO to DRAWBMP doesn't
- Replies: 4
- Views: 6694
Re: Using GOTO to DRAWBMP doesn't
LB will draw a bmp at the location of the pen, LBB will not. Not sure if this is an intended feature for LB or not, but it caught me out so posting for anyone else. Please see the LB Help manual. You will find it says this: ' print #handle, "drawbmp bmpname x y". This command draws a bitm...
- Sun Feb 28, 2021 2:20 pm
- Forum: General Board
- Topic: Console application
- Replies: 4
- Views: 7511
Re: Console application
To me it is displayed like this, line by line and letter by letter I ran this: start = time$("ms") for i = 1 to 100 print "The quick brown fox jumps over the lazy dog" next finish = time$("ms") print finish-start wait Here is the output; 186 milliseconds for 4,500 char...
- Sun Feb 28, 2021 10:19 am
- Forum: General Board
- Topic: Console application
- Replies: 4
- Views: 7511
Re: Console application
is there a way to speed up this process and that everything is displayed instantly? I don't know of any way to speed up console output, sorry. It is not particularly slow here, this program displays the text 'instantly' when run as a Console Mode executable (Windows 10): PRINT "The quick brown...
- Tue Feb 09, 2021 6:49 pm
- Forum: Liberty BASIC Language
- Topic: Issues when OPEN RS232 serial port
- Replies: 1
- Views: 4809
Re: Issues when OPEN RS232 serial port
This appears to be an issue with issuing the DS, CS and RS switches, they don't seem to be supported in LBB. This is documented in the Compatibility section of the LBB Help manual (item 9: " The syntax for serial port parameters is slightly different... "). I'm unsure whether LBB ignores ...
- Sun Feb 07, 2021 2:19 pm
- Forum: Liberty BASIC Language
- Topic: Passing string$ into LBB EXE
- Replies: 2
- Views: 5464
- Tue Jan 19, 2021 9:45 pm
- Forum: Suggestion Box
- Topic: Show faulty file(s) and line(s) while compiling
- Replies: 3
- Views: 12005
Re: Show faulty file(s) and line(s) while compiling
No, the indicated line numbers are not helpfull at all since it can happen in any included file If the error happens in an included file, the indicated line number should correspond to the 'include statement itself, so you can then study that file separately (e.g. try to compile it) to discover whe...
- Sun Jan 17, 2021 9:09 pm
- Forum: Suggestion Box
- Topic: Show faulty file(s) and line(s) while compiling
- Replies: 3
- Views: 12005
Re: Show faulty file(s) and line(s) while compiling
The compiler will give you little info (in this example a quote is missing) but that's all. The "11 out of 108 lines processed" should give you some idea where the problem is. If not, a more "verbose" output could be really helpfull ;) LBB was originally designed to 'boost' prog...
- Tue Jan 05, 2021 5:38 pm
- Forum: General Board
- Topic: ADDRESS MANAGER
- Replies: 17
- Views: 23315
Re: ADDRESS MANAGER
Or maybe if I moved maphandle out of the Select Case section and dropped it down the code to just above next You should have done that from the start, I'm surprised that it ever worked the way you had it. I still think that logically you should produce the textbox before deciding what format it sho...
- Mon Jan 04, 2021 6:43 pm
- Forum: General Board
- Topic: ADDRESS MANAGER
- Replies: 17
- Views: 23315
Re: ADDRESS MANAGER
I would expect that in evaluating CASE 10 all other CASE statements would be ignored, but clearly it is not. Likewise, when evaluating CASE 1 to 9, I would expect that CASE 10 was ignored. You are still not seeing it. Unroll the loop so that there is neither a for...next nor a select statement. Wha...
- Sun Jan 03, 2021 7:31 pm
- Forum: General Board
- Topic: ADDRESS MANAGER
- Replies: 17
- Views: 23315
Re: ADDRESS MANAGER
the position of Stylebits is important and MUST come after the related textbox otherwise it relates to the texbox preceding it. Because of your FOR loop, you effectively have code like this: TextBox #main.tb, hPos, (bHt)*i, bWidth+1, bHt+1 Stylebits #main.tb, _ES_LEFT, _WS_BORDER, 0, 0 TextBox #mai...