Search found 44 matches

by tsh73
Wed Mar 20, 2024 4:26 pm
Forum: Showcase
Topic: old Microsoft demo (3d torus)
Replies: 0
Views: 1196

old Microsoft demo (3d torus)

Here it is at QB64 site qb64.com/samples/torus-demo/ ( this version was probably converted to brand new QB64 so I did not managed to run it as is ) Now it works in LB/LBB/(even JB if change API call with commented-out filled triangle sub by Andy Amaya) https://i.postimg.cc/282xDYht/torus1.png https:...
by tsh73
Sat Dec 23, 2023 9:07 pm
Forum: BASIC code examples
Topic: Chess Version 2.5
Replies: 7
Views: 13953

Re: Chess Version 2.5

Yes it does for me.
by tsh73
Thu Dec 21, 2023 6:00 pm
Forum: BASIC code examples
Topic: Chess Version 2.5
Replies: 7
Views: 13953

Re: Chess Version 2.5

Nice one.
I would say simple solutions are most hard to come by.
by tsh73
Thu Dec 21, 2023 5:54 pm
Forum: Compatibility with LB4
Topic: FOR difference with JB/LB4
Replies: 2
Views: 11710

Re: FOR difference with JB/LB4

Hello thanks for answering Changing either the loop variable or the limit value inside a FOR loop is bad practice. I know. But this program is big - and it's someone else's program - and I guess it just happened, historically. And if version of BASIC you use allows it, you will never know it's bad. ...
by tsh73
Mon Dec 18, 2023 8:43 pm
Forum: BASIC code examples
Topic: Chess Version 2.5
Replies: 7
Views: 13953

Re: Chess Version 2.5

I have been advised that my LB Chess program does not run correctly in LBB. actually, it RUNS and it appears working OK but if you run it side-by-side with JB you 'll see it takes DIFFERENT MOVES Got to log some trace to file and look for the differense. And it was on some 4xx line ;) - rather hard...
by tsh73
Mon Dec 18, 2023 8:38 pm
Forum: Compatibility with LB4
Topic: FOR difference with JB/LB4
Replies: 2
Views: 11710

FOR difference with JB/LB4

This code
n=10
for i = 1 to n
   print i
   if i = 5 then n = 0
next
types 10 numbers at LB/JB, but only 5 at LBB.

Actually if one open right panel in LBB, FOR loop will look like
 3 FOR i = 1 TO n : WHILE 1 > n EXIT FOR : ENDWHILE
Probably this WHILE kicks in.
by tsh73
Tue Jul 23, 2019 10:02 pm
Forum: Language extensions
Topic: eval assign
Replies: 1
Views: 17560

Re: eval assign

Sorry. I cannot understand WHY it works. if we have variable "x" at main level, then in the sub level "x" is undefined and EVAL("x") should not work, is it? To fix it I supposed to make "x" global, am I? Here some test code that shows results inconsistent with...
by tsh73
Mon Jul 22, 2019 9:17 pm
Forum: Language extensions
Topic: eval assign
Replies: 1
Views: 17560

eval assign

sorry I lost source by Richard - cannot find on forum or on Wiki - so I reinvented it and post here for posterity I consider this to be really handy ability. 'EVAL ASSIGN 'Assigns variable by passed name 'LBB only z=1 call evalAssign "z", 1.23 print z '------------------------------- sub e...
by tsh73
Wed Mar 20, 2019 7:31 pm
Forum: Program editor
Topic: Text Entry Cursor stops blinking
Replies: 19
Views: 56544

Re: Text Entry Cursor stops blinking

Just my 0.02$ Windows 10 Netbook (automatically updated), 32 bit Win 1803 Home build 17134.648 Notepad, WordPad, LBB, JB - stops blinking after 5-6 blinks Notepad++ and LibreOffice - does not stop blinking (or I am did not wait long enough) How they do that? Job computer Win 10 Corporate 2016 Long T...
by tsh73
Sat Mar 09, 2019 9:59 pm
Forum: Showcase
Topic: Crypt-It
Replies: 15
Views: 38679

Re: Crypt-It

Looks like it needs a line

Code: Select all

CryptMessage$=CryptMessageContents$ 
after line 189

Code: Select all

#1.ClipboardIn "!Line 1 ClipboardContents$"