click on it...

The Wonder World of 10 PRINT

I have a CASIO Prizm fx-CG10 calculator. It’s the most powerful calculator available but it’s still very slow as each time you type an equation to render a graph with, you see it takes seconds to render. I bought the calculator because I wanted to write programs for it, on it. So it offers an interpreted scripting language called CASIO-BASIC and I have to say that I love it because I can program anywhere with my calculator but the system is still a calculator so the language is not that rich and it’s slow. Slow that much so you see how each line of your software executes.

This calculator thing is somehow the most awesome programming experience I always had. You see it is a tiny language with a command line like the screen in the size of 7 in 21 characters! It feels like your programming one of those good old DOS systems.

Writing command line interfaces without any extra library is what I like so much. You learn who to draw things with only characters and you write so much pretty code for that.

There is a book with a BASIC code name as 10 PRINT CHR$(205.5+RND(1)); : GOTO 10. The book is written by a group of 10 awesome authors. and it’s about its one line title code. The book explores the culture and the way of this one line, How this code happens to be a maze making system.

Before the book I had written the code in many different shapes and a few better shapes. But after the book, I felt like writing some complex codes to create modern codes for rendering the character like the graphic in 10PRINT.

As I’m developing my own language Arendelle the first code I wrote was an Arendelle one. You can find it on GitHub. I’m going to write Processing codes for much better ones.

By adding two colors to my code you can easily understand why by writing only slash and backslash characters you’ll get a maze.

Top of Stack!