Author Topic: Shells  (Read 2680 times)

0 Members and 1 Guest are viewing this topic.

Offline danny90444

  • LV3 Member (Next: 100)
  • ***
  • Posts: 41
  • Rating: +0/-0
  • Physics :)
    • View Profile
    • facebook
Shells
« on: July 01, 2012, 11:25:34 pm »
 :w00t: I  was just wondering how to program for shells like mirage OS and Ion.
Schrodinger's cat walks into a bar... and doesn't.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Shells
« Reply #1 on: July 01, 2012, 11:34:33 pm »
You can't get a TI-BASIC program to show up in Ion.

To have it show up in MirageOS, all you need to do is add a colon at the beginning of your program. Optionally, you can add a double quote followed by a description:
::"My First Program
:Disp "Hello world!"
TI-BASIC programs show up in DoorsCS by default, but you can customize the behavior by the optional headers listed here.




Offline danny90444

  • LV3 Member (Next: 100)
  • ***
  • Posts: 41
  • Rating: +0/-0
  • Physics :)
    • View Profile
    • facebook
Re: Shells
« Reply #2 on: July 01, 2012, 11:42:46 pm »
Thanks this  reallly helps. I think i read somewhere though that certain basic functions dont work in mirage os?
Schrodinger's cat walks into a bar... and doesn't.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Shells
« Reply #3 on: July 01, 2012, 11:46:02 pm »
I'm not aware of any, though there are some minor quirks (like the 2nd/ENTER keystroke that gets sent to any getKey at the beginning of the program).




Offline danny90444

  • LV3 Member (Next: 100)
  • ***
  • Posts: 41
  • Rating: +0/-0
  • Physics :)
    • View Profile
    • facebook
Re: Shells
« Reply #4 on: July 01, 2012, 11:46:38 pm »
Ok , thanks.
Schrodinger's cat walks into a bar... and doesn't.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Shells
« Reply #5 on: July 02, 2012, 11:28:11 am »
I'm not aware of any, though there are some minor quirks (like the 2nd/ENTER keystroke that gets sent to any getKey at the beginning of the program).
You mean It was not my fault all this time? O.O I always thought it was my game screwing up.:P

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Shells
« Reply #6 on: July 02, 2012, 11:31:55 am »
I'm not aware of any, though there are some minor quirks (like the 2nd/ENTER keystroke that gets sent to any getKey at the beginning of the program).
You mean It was not my fault all this time? O.O I always thought it was my game screwing up.:P
I LOL'd at that one

Well, it took some time for me to find out

That is also why when i made past that point a basic program I had getKey somewhere very far at the top to prevent errors :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Shells
« Reply #7 on: July 02, 2012, 01:27:30 pm »
I'm not aware of any, though there are some minor quirks (like the 2nd/ENTER keystroke that gets sent to any getKey at the beginning of the program).
You mean It was not my fault all this time? O.O I always thought it was my game screwing up.:P
Guess not XD You can actually avoid the bug if you tap on 2nd or ENTER very, very quickly when you start the program.