huge update to version 1.5!


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.

Files

craftbasic.zip 258 kB
Jun 29, 2023

Get Craft Basic

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.