Search found 193 matches
- Wed Sep 14, 2022 4:54 pm
- Forum: Liberty BASIC Language
- Topic: Can't get TRIM$() nor replstr$() to work
- Replies: 4
- Views: 5490
Re: Can't get TRIM$() nor replstr$() to work
Still, replstr$() doesn't accept to replace a character by "nothing". It seems to work for me. I tried this program: print chr$(34); replstr$("Hello world!", "o", ""); chr$(34) 'include lb45func.bas And it produced the output "Hell wrld!" which is c...
- Sun Jul 31, 2022 3:00 pm
- Forum: BASIC code examples
- Topic: library example v3d oop
- Replies: 3
- Views: 5363
Re: library example v3d oop
i get a function not exsist error why ? It's because you call sub sphere with parameters: call sphere 20,0,10 , 30 , rgb(255,0,0) call sphere 0,0,0 , 30 , rgb(0,255,0) but you define it with no parameters: sub sphere if stel >= 100 then exit sub s(stel,s.x)=x s(stel,s.y)=y s(stel,s.z)=z s(stel,s.d)...
- Wed Jun 22, 2022 8:58 am
- Forum: General Board
- Topic: Look at the OLD LBB Forum
- Replies: 4
- Views: 9402
Re: Look at the OLD LBB Forum
Go to the front page of this forum, scroll down to the bottom, and you'll see the link in the ARCHIVE section labelled Browse or search the old LBB forum.
- Tue Jun 07, 2022 9:49 pm
- Forum: Liberty BASIC Language
- Topic: Textbox lost focus event
- Replies: 2
- Views: 5000
Re: Textbox lost focus event
Does this Liberty BASIC solution (easily found in a Google search) work?
- Wed Apr 06, 2022 1:07 am
- Forum: Liberty BASIC Language
- Topic: Wordwrap in texteditor control
- Replies: 2
- Views: 5347
Re: Wordwrap in texteditor control
Code: Select all
texteditor #w.te, 10, 10, 280, 280
stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0
open "Wordwrap test" for window as #w
wait
- Sat Mar 26, 2022 11:05 pm
- Forum: General Board
- Topic: Slowdown after repeated executions
- Replies: 12
- Views: 16137
Re: Slowdown after repeated executions
This sounds exactly like a run-of-the-mill resource leak. The practical solution is to quit and restart the LBB IDE if the slow-down gets annoying.
- Mon Mar 21, 2022 7:55 pm
- Forum: General Board
- Topic: Slowdown after repeated executions
- Replies: 12
- Views: 16137
Re: Slowdown after repeated executions
A re-boot restored normal speed. So does Task Manager show any evidence of a resource or memory leak (with additional columns enabled)? It's hard to understand what else could result in a slow-down that persists between different processes, but is resolved by a reboot. If you can identify what kind...
- Thu Mar 17, 2022 5:46 pm
- Forum: General Board
- Topic: Slowdown after repeated executions
- Replies: 12
- Views: 16137
Re: Slowdown after repeated executions
The slowdown on successive executions appears to occur only when in repeated code-compile-execute sequences. I created an executable and I don't see the slowdown, at least in maybe 15-20 executions. OK. Although I don't have an explanation, I am less concerned if the problem manifests only in a 'de...
- Tue Mar 01, 2022 7:24 pm
- Forum: General Board
- Topic: Slowdown after repeated executions
- Replies: 12
- Views: 16137
Re: Slowdown after repeated executions
I don't know if it's related or not but lately LBB takes 40 seconds to load and run on my laptop. It's less than two seconds here, which is what I would expect. The first thing I would try is disabling your Anti-Virus tools, which can sometimes be responsible for that kind of problem. If that makes...
- Tue Mar 01, 2022 3:25 pm
- Forum: Compatibility with LB4
- Topic: Opening multiple windows
- Replies: 2
- Views: 6605
Re: Opening multiple windows
Can I make this work in LB4? LB4 doesn't like you 'closing' a window that isn't open, so you will need to introduce a couple of Boolean variables (I have called them FirstOpen and SecondOpen ) which keep track of which window is open. That way you can avoid trying to close a window that isn't open....