Search found 46 matches

by tsh73
Sat Feb 13, 2021 7:54 am
Forum: Games
Topic: J-board - chess board written in JustBasic
Replies: 4
Views: 7734

Re: J-board - chess board written in JustBasic

fixed exporting "extra pieces" situation (two queens then pawn promoted)
by tsh73
Fri Feb 12, 2021 8:05 pm
Forum: Games
Topic: J-board - chess board written in JustBasic
Replies: 4
Views: 7734

Re: J-board - chess board written in JustBasic

From the release notes:
For version 1.03:
Added import to Chess2 format (developed on JB forum)

For version 1.04:
Export and import changed to Chess2.5 format (faster version)

Hopefully now you can save position from Chess 2.5, import it, change it here, export and load back.
by tsh73
Tue Feb 02, 2021 7:24 pm
Forum: Games
Topic: J-board - chess board written in JustBasic
Replies: 4
Views: 7734

Re: J-board - chess board written in JustBasic

v 1.02
From release notes:
For version 1.01:
Compose mode added
Drag'n'drop moves pieces
RightMouseButton menu allows delete/add piece
Also there is ClearBoard and ResetBoard commands.
After you done, switch to Play Mode

For version 1.02:
Added export to Chass2 format (developed on JB forum)
by tsh73
Thu Dec 24, 2020 6:36 pm
Forum: Advanced Utilities
Topic: Load PNG
Replies: 3
Views: 316036

Re: Load PNG

I was long wanting to have some tool like that, royalty-free.
Dream have come true ;)
Thanks, NTech.
by tsh73
Mon Feb 03, 2014 7:14 am
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

convertor v.1.10, Feb 03 2014
Changed:
* numeric expressions are passed through numExprRewrite$(expr$)
function, which does some search/replace.
So here we got:
- abs(), int() now supported (if MATH support is ON).
So we have all math functions except MOD and ^ (!)
- case is fixed to all ...
by tsh73
Sun Feb 02, 2014 3:24 pm
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

Code: Select all

 convertor v.1.9, Feb 02 2014
 Changed: 
 * restore label
 is supported.
 Attempt to restore non-existing label, say
   restore 21
 ends up with C compiler message
   'restore_lbl_21' undeclared
by tsh73
Sun Feb 02, 2014 10:23 am
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

Code: Select all

 convertor v.1.8, Feb 02 2014
 Added: 
 * run
  - run command
  - run command, mode
    only min, max (no hide or noActive)
by tsh73
Sat Feb 01, 2014 5:16 pm
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

Code: Select all

 convertor v.1.7, Feb 01 2014
 Added: 
 * data/read/restore
  - No "restore label" yet
  - Read past end of data end program with message
    ERROR: Read past end of data
 * cls (thanks to Plus3Code for C equivalent)
by tsh73
Fri Jan 31, 2014 4:49 pm
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

convertor v.1.6, Jan 29 2014
Added:
* built-in min, max: (required changing parsing print arguments)

GUI v.1.3, Jan 29 2013
Added:
* option for built-in min, max support
Changed:
* asking for binary options converted to function
by tsh73
Wed Jan 22, 2014 9:25 am
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

Code: Select all

 convertor v.1.5, Jan 22 2014
 Added:
 * math support
    included <math.h>, some functions aliased
    int() and abs() skipped for now
    MOD and ^ postponed until expression gets rewritten
by tsh73
Sat Jan 11, 2014 2:12 pm
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

GUI change
v.1.1, Dec 31 2013
* log pane converted from texteditor to listbox.
Now, if you get error after compiling, like
temp.c:26: ';' expected
and double click on it, "Generated C source" pane will position
just above offending line (in ths case - on line 25).
Because often, cause of ...
by tsh73
Tue Dec 31, 2013 8:18 am
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator


v.1.3, Dec 31 2013
Changed:
* better PRINT handling
separated by (;) prints without gaps
separated by (,) prints via TAB
print without new line
print ends by (;)
print ends by (,)
* nested single line IF
actually, only form that makes sense is
IF cond1 then op1 else if cond 2 then op2 ...
by tsh73
Mon Dec 30, 2013 12:05 pm
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

v.1.2, Dec 30 2013
added:
* Several operators on a line, like
x=1: y=2
* continuation lines, like
print "x=", _
x, "y=", y
* single-line IF, like
IF condition then operator
IF condition then operator1[: operator 2]
IF condition then operator1[: operator 2] else operator 3[: operator 4]
, you ...
by tsh73
Sat Dec 28, 2013 7:18 pm
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

Re: JB to C toy translator

v.1.1, Dec 28 2013
* added:
EXIT FOR
WHILE/WEND, EXIT WHILE
DO/LOOP (all variants), EXIT DO
*demo file for version 1.1
demo1.1.bas
(demo for previous version named demo1.0.bas)
* added function returning version (jb2cConv.ver$(), jb2cGUI.ver$()),
version info displayed in Help/About
* major ...
by tsh73
Wed Dec 25, 2013 5:35 am
Forum: Programming Tools
Topic: JB to C toy translator
Replies: 10
Views: 28706

JB to C toy translator

explained here
http://justbasic.conforums.com/index.cgi?board=code&action=display&num=1386761972
Now initial project goals are met so I call it v.1.0 - it supports:
* numerical variables (as C double)
* print, input
* text constants in print, input (to be used as prompts)
* for (with optional step ...