Friday, January 3, 2025

⚗ Experiment in the Works: Editor toolbar buttons for inserting "whatever" into a program

Try this in the "development version" of BASIC Anywhere Machine.

I have started experimenting (toying around with the idea?) of editor toolbar buttons to quickly add snippets of code (among other things) to a program in the midst of being created / edited.

I've added a "FOR-NEXT block" button just above the editor, which allows wrapping any number of selected lines (or just the current line if none are selected) with the start and end lines of a FOR-NEXT block.

On a line of code, just before pressing the button

The result after pressing the button







No comments:

Post a Comment

🖥 "Spirographed" ellipses to create a colorful (32-bit, gradiant) spherical shape

This sample program shows how to use DRAW to create ellipses (I like to call this a "spirographing" approach. The program generate...