Archive for the ‘ Uncategorized ’ Category

[BASIC] Dynamically arrange lists

You know the problem: You want to type

For 1-> A To 5
{0}->List A

but you get a syntax error – so you have to think of another way, like

{0}->List 1
{0}->List 2
{0}->List 3
{0}->List 4
{0}->List 5

This is now no longer needed!

With a simple trick, you can avoid this!
Simply try this:

“1”->Str 1
{0}->List Str 1
You will see: it works!
So, let us continue thinking. We want to have a counter.
Ne0tux wrote a small and fast program that takes the variable ‘A’ and converts it to Str 1:

“”->Str 1
For 1->Y To 1+Intg log A
StrMid(“0123456789”,1+Int (10Frac (A/10^Y)),1)+Str 1->Str 1

I think everyone could write the program at him/herself, but possibly not that optimized 😉 (If there’s something that can be optimized, please tell me.)

Now you can write
For 1->A To 5
Prog “~NUM2STR”
{0->List Str 1

Note: Don’t forget to save the variable Y because it’ll be erased during the progress.


Back2BASIC: A LuaZM Library

GitHub Page

1. What it is

Back2BASIC is a library that allows you to have all the functions you loved in BASIC. This will help BASIC programmers switch to lua, as well as making it more straightforward to port BASIC programs to lua.

2. Already implemented

  • (a prefabricated menu function)
  • b2b.printText (like “HELLO” in BASIC, but with LESS-style page breaks)
  • b2b.locate (like locate in BASIC)
  • b2b.ygraph (Y= graph)
  • b2b.inputString (get user input)

3. To be implemented

Help me come up with ideas!

4. Usage

Make a folder called “lib” in your root directory. Put b2b.lua in this folder. In the program you wish to use the library, put run([[lib\b2b.lua]]) at the top.

TakeFlight’s Contribution to Cemetech Contest #9

Neon Fighter: Blue Edition

Our contest entry is now released, and you can download it from Cemetech’s Archives.

New Design

We have updated our blog design, hope you like it!

Why the TI-84C is not worth the money

The past six months have seen many fickle Casio fans turning their efforts eyes and money towards a new calculator, the TI-84C.

Why this calculator is no better than any other casio rejects (aka, TI calcs):

  • The 84+CSE has only 21KB of user RAM. While there are 128KB available for assembly programmers, TI-Basic users and such are stuck with even less RAM than before. The Casio PRIZM, on the other hand, has approx. 50KB of RAM, plus 16MB of storage space.
  • The 15MHz z80 processor. Much slower than the PRIZM’s SH-4A (58MHz). Remember that we’re dealing with color here, and 15MHz just doesn’t cut it.
  • The screen is capable of 16-bit color, but the calculator itself isn’t. Refreshing the whole screen once with just 8-bit color takes 2 seconds. This is unacceptable.
  • The lack of a good C compiler. At this point there is no way to program in anything other than BASIC or Assembly. The PRIZM comes with support for C, native support for BASIC, and third-party languages like LuaZM.

In reviewing this calculator, we are forced to realize that this is nothing more than another over-priced, under-powered, excuse for a calculator from who else but, Texas Instruments.

More Information:

Our Protest Banner:


Merry Christmas!

Merry Christmas everyone!

Our new watermark

I made a watermark for TakeFlight Prod.

Tell us what you think of it!