Commando Basic

Started by lucidapogee, August 23, 2023, 22:27:26

Previous topic - Next topic

lucidapogee

Commando Basic Alpha Version has been released! We decided to release it as freeware.  8)



This release includes an IDE, tokenizer, interpreter, chm help file, and 96 examples.

Get it here https://www.lucidapogee.com/index.php?page=commandobasic

Download is less than 1mb.
Ebox Thin Client with Windows 95
EEE PC 701SD with Windows XP
Atari 1040STFM with GEM/TOS
Playstation 2 with FreeMcBoot Yabasic
Keyboard Famiclones with GBasic and FBasic
Xerox Sunrise 1800 with MSBasic and CP/M

lucidapogee

I have added another download mirror to itch.io for an ad free download experience (although this one will nag for a donation).

https://lucidapogee.itch.io/commando-basic/purchase

This link offers both the installer and portable version.

Meanwhile... I just fixed a small bug while working on completing a Rosetta Code task.

The problem was the prime function was returning 0 and 1, rather than 0 and -1. This prevented it from playing nicely with not(). I got it working now and have already uploaded the update including the new example. I will have to go back and add this fix to Craft Basic as well. Seriously an amateur mistake, I know... lol :))
'https://rosettacode.org/wiki/Circular_primes
let p = 2
let s = 1
do
    let n = int(log(p) / log(10))
    let m = 10 ^ n
    let q = p
    let r = 1
    for i = 0 to n
        if q < p or not(prime(q)) then
            let r = 0
            break i
        endif
        let q = (q mod m) * 10 + int(q / m)
    next i
    if r then
        print p, " ",
        let l = l + 1
    endif
    let p = p + s
    let s = 2
loop l < 19
pause
Ebox Thin Client with Windows 95
EEE PC 701SD with Windows XP
Atari 1040STFM with GEM/TOS
Playstation 2 with FreeMcBoot Yabasic
Keyboard Famiclones with GBasic and FBasic
Xerox Sunrise 1800 with MSBasic and CP/M

lucidapogee

Here's some fresh screenshots. 8)




Ebox Thin Client with Windows 95
EEE PC 701SD with Windows XP
Atari 1040STFM with GEM/TOS
Playstation 2 with FreeMcBoot Yabasic
Keyboard Famiclones with GBasic and FBasic
Xerox Sunrise 1800 with MSBasic and CP/M