Information Technology - Computer Programming - Source Code - Homebrew - Open Source - Software - Hardware - 8 bit - 16 bit - 32 bit - 64 bit - x86 - x64 - DOS - Windows - Linux - Arduino - Embedded - Development - Retro - Vintage - Math - Science - History - Hobby - Beginners - Professionals - Experiment - Research - Study - Fun - Games

Craft Basic version 1.5 released

Updates about our products and services.
Post Reply
admin
Site Admin
Posts: 106
Joined: Wed Feb 22, 2023 6:51 am

Craft Basic version 1.5 released

Post by admin »

With this latest update to Craft Basic, a few things have changed while many new features have been added. There's now over 20 new examples.

Among the changes, the print command now displays to an output window. The new custom output window uses RTF and is similar to the one Just Basic has. You may copy, paste, save, and print with the output window. Due to this, the cursor command is no longer supported. To display text in the graphics window, use static text forms. The result of the new output window is that Craft Basic now has much more stable data output capabilities. With this, now data may be continuously printed on a single line like in a console.

The cls command now has the graphics keyword to open the graphics window explicitly. This is useful as the interpreter now runs programs over the source code so you may view the code of text based programs as they are running. The cls command clears both the text and graphics windows when the graphics keyword is not specified.

There's also now an update option in the program menu. This allows you to modify the source code of a program while it's running without stopping execution.

The end command is no longer required to prevent the lag when source code has reached the end. This was done with a silly, but effective hack. If 100 or more consecutive lines are blank, that will be interpreted as an end command. This saves thousands of loops.

There's now SGN, PRIME, and FACTORIAL functions.

The ! operator may also be written as NOT() now.

The ~ operator may also be written as MOD now.

Dimming of array lists now supports expressions in the list during declaration.

Other general issues were fixed. All examples were updated.

There's still a lot on the to do list, but we will save the rest for the next version.
Post Reply