Shop OBEX P1 Docs P2 Docs Learn Events
FemtoBasic Questions — Parallax Forums

FemtoBasic Questions

Matthias1992Matthias1992 Posts: 7
edited 2011-02-21 17:05 in Propeller 1
Hi there!

I have just installed FemtoBasic on my propellor usb proto board. So far, so good BUT, I have some questions. I managed to figure out that DISPLAY 0 worked as a clearscreen function so thats one problem tackled, here come the others:

>how to stop the OK message from showing up
>how to save a FemtoBasic program (I have no sd card and save $00000 gives a syntax error)
>how to use strings in FemtoBasic. I tried A= "something" but it gave a missing end quote error. I would really like to be able to use strings in my program so...
>how to run a FemtoBasic program at startup.
(> last AND least, how to give a program, if saved, a name and how to recall it by that name (remember I have no SD card))

I don't know if all of these are either already asked or impossible to do without SD card but yea, I would really like to see as many of these questions as possible answered. Bare with me if they are kind of noobish :) I am just new here, albeit not at all new to programming in general.

Comments

  • Matthias1992Matthias1992 Posts: 7
    edited 2011-02-21 13:58
    help? anyone?

    I don't need them solved all at once...
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-02-21 17:03
    Which version of Femtobasic do you have?
  • AribaAriba Posts: 2,690
    edited 2011-02-21 17:05
    >how to stop the OK message from showing up

    OK is not shown when the program runs. If you want another string then "OK" while editing, then search for "OK" in the FemtoBasic source and change the string.

    >how to save a FemtoBasic program (I have no sd card and save $00000 gives a syntax error)

    SAVE
    saves a single program
    SAVE 28,$8000 saves a program to the second 32k of the EEPROM on the ProtoBoard.
    You can use other addresses as second parameter, and load the files back with
    LOAD 28,<address>

    >how to use strings in FemtoBasic. I tried A= "something" but it gave a missing end quote error. I
    would really like to be able to use strings in my program so...

    FemtoBasic does not support strings

    >how to run a FemtoBasic program at startup.

    save it as "AUTOEXEC.BAS" on an SD card (which you not have, I know). Perhaps there is a Femto variant with autoboot from EEPROM, otherwise it should be possible to add that to the source code.

    (> last AND least, how to give a program, if saved, a name and how to recall it by that name (remember I have no SD card))

    Why not invest the time and money to add an SD card? This opens so many possibilities...

    Andy
Sign In or Register to comment.