Author Topic: Formulum: Texas Instruments Version  (Read 27371 times)

0 Members and 2 Guests are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #90 on: October 31, 2010, 04:53:13 pm »
No, I'm not using a Shell.

Stop yeah shuts the program in the 84+.

But the Pause gives me an error...
Return gives me an error too...

Not Nspire version, lol

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #91 on: October 31, 2010, 04:58:26 pm »
are you using the token Return/Pause or are you actually typing "Pause" and "Return"?


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #92 on: October 31, 2010, 05:00:29 pm »
I'm typing
:Pause

and

:Return

(only one at a time, I made two files, one with Pause everywhere and another with Return everywhere, any works).

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #93 on: October 31, 2010, 05:02:58 pm »
where are you coding? are you using source coder, or on-calc?


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #94 on: October 31, 2010, 05:04:44 pm »
where are you coding? are you using source coder, or on-calc?

SourceCoder+WabbitEmu, in WabbitEmu Stop doesn't quit, everything works fine.
Then, SourceCoder+Calculator, it quits after the formula, not that fine...

Do you want the code?

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #95 on: October 31, 2010, 05:05:45 pm »
i'm intrigued. i do want the code.


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #96 on: October 31, 2010, 05:06:59 pm »
Code: [Select]
:ClrHome
:AxesOff
:ClrDraw
:1?W
:While W
:While W=1
:Text(1,1,"CHOOSE FORMULA
:Text(7,1,"1:CIRCLE AREA
:Text(14,1,"2:SPHERE VOL.
:Text(21,1,"3:CYLINDER VOL.
:Text(28,1,"4:CONE VOL.
:Text(35,1,"5:CONE SURFACE AREA
:Text(42,1,"6:QUADR. PYR. VOL.
:Text(49,1,"7:CYLINDER SURFACE AREA
:Text(56,1,"8:MORE FORMULAS
:Repeat 2>abs(5-abs(5-abs(Ans-83
:getKey
:End
:Ans?K
:If K=73
:Then
:ClrDraw
:2?W
:Else
:If K=92
:Then
:ClrHome
:Prompt R
:Output(4,2,"VOLUME IS:":Output(5,2,RRp
:End
:If K=93
:Then
:ClrHome
:Prompt R
:Output(4,2,"VOLUME IS:":Output(5,2,(4/3)pRRR
:End
:If K=94
:Then
:ClrHome
:Prompt R,H
:Output(4,2,"VOLUME IS:":Output(5,2,pRRH
:End
:If K=82
:Then
:ClrHome
:Prompt R,H
:Output(4,2,"VOLUME IS:":Output(5,2,pRRH/3
:End
:If K=83
:Then
:ClrHome
:Prompt R,H
:Output(4,2,"SRFCE AREA IS:":Output(5,2,(pR*sqrt(HH+RR))+pRR
:End
:If K=84
:Then
:ClrHome
:Prompt L,H
:Output(4,2,"VOLUME IS:":Output(5,2,LLH/3
:End
:If K=72
:Then
:ClrHome
:Prompt R,H
:Output(4,2,"SRFCE AREA IS:":Output(5,2,2pRH+2pRR
:End
:Stop
:End
:End
:While W=2
:Text(1,1,"CHOOSE FORMULA
:Text(7,1,"1:SPHERE SURFACE AREA
:Text(14,1,"2:CUBE VOL.
:Text(21,1,"3:CUBE SURFACE AREA
:Text(28,1,"4:PARALLELEPIPED VOL.
:Text(35,1,"5:PARALLELEPIPED SURFACE AREA
:Text(42,1,"6:TRAPEZIUM AREA
:Text(49,1,"7:RECTANGLE AREA
:Text(56,1,"8:MORE FORMULAS
:Repeat 2>abs(5-abs(5-abs(Ans-83
:getKey
:End
:Ans?K
:If K=73
:Then
:1?W
:ClrDraw
:Else
:If K=92
:Then
:ClrHome
:Prompt R
:Output(4,2,"SFRCE AREA IS:":Output(5,2,4pRR
:End
:If K=93
:Then
:ClrHome
:Prompt A
:Output(4,2,"VOLUME IS:":Output(5,2,AAA
:End
:If K=94
:Then
:ClrHome
:Prompt A
:Output(4,2,"SFRCE AREA IS:":Output(5,2,6AA
:End
:If K=82
:Then
:ClrHome
:Prompt A,B,C
:Output(4,2,"VOLUME IS:":Output(5,2,ABC
:End
:If K=83
:Then
:ClrHome
:Prompt A,B,C
:Output(4,2,"SFRCE AREA IS:":Output(5,2,2BC+2AC+2AB
:End
:If K=84
:Then
:ClrHome
:Disp "A Larger Base
:Disp "B Smaller Base
:Disp "H Height
:Prompt A,B,H
:Output(7,2,"AREA IS:":Output(8,2,((A+B)/2)H
:End
:If K=72
:Then
:ClrHome
:Prompt B,H
:Output(4,2,"AREA IS:":Output(5,2,BH
:End
:Stop
:End
:End
:End

The ?s are STOs and the 'p's are the pi.

Sorry, saved that in ANSI coding...

Do you want unlocked file?
« Last Edit: October 31, 2010, 05:07:20 pm by ScoutDavid »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Formulum: Texas Instruments Version
« Reply #97 on: October 31, 2010, 09:11:06 pm »
Well if you are using SourceCoder to type all your code that might be the origin of a lot of your problems. SourceCoder syntax, although quite similar, is just a bit different sometimes and can cause errors when it creates a file. I'll look over the code in a second.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Formulum: Texas Instruments Version
« Reply #98 on: November 01, 2010, 03:55:11 am »
As a side note, if you ever have any problem creating a file from the code that you opened from a program in SourceCoder or any other error, you might want to immediately report the bug to KermMartian in his Cemetech topic, as he will get notified of it and fix it whenever he gets some time.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #99 on: November 01, 2010, 10:31:04 am »
As a side note, if you ever have any problem creating a file from the code that you opened from a program in SourceCoder or any other error, you might want to immediately report the bug to KermMartian in his Cemetech topic, as he will get notified of it and fix it whenever he gets some time.

SourceCoder works perfectly.

It's just a shame that my TI-8x version was downloaded once and the NSpire version wasn't even downloaded :S

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Formulum: Texas Instruments Version
« Reply #100 on: November 01, 2010, 12:04:11 pm »
Well the issue is that Omnimaga is a gaming-oriented website, not a math program website, so it's inevitable that non-game-related programs will get less downloads. Such math program would probably get more attention on United-TI, TI-BANK or Ticalc.org, which are more general. One month ago, there was even the possibility of completely forbidding math programs in the projects section to not lose our focus on games. I personally no longer need math tools since about 2003, the final year I did maths. I only use my calc for games. On top of that, most people here got a TI-83+ or 84+.

Also, my Nspire is always in 84+ mode because I need it in that mode and I try to avoid swapping keypads too often.
« Last Edit: November 01, 2010, 12:06:32 pm by DJ Omnimaga »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #101 on: November 01, 2010, 12:32:48 pm »
Well the issue is that Omnimaga is a gaming-oriented website, not a math program website, so it's inevitable that non-game-related programs will get less downloads. Such math program would probably get more attention on United-TI, TI-BANK or Ticalc.org, which are more general. One month ago, there was even the possibility of completely forbidding math programs in the projects section to not lose our focus on games. I personally no longer need math tools since about 2003, the final year I did maths. I only use my calc for games. On top of that, most people here got a TI-83+ or 84+.

Also, my Nspire is always in 84+ mode because I need it in that mode and I try to avoid swapping keypads too often.

'Gaming-oriented Forum' -  had no idea, though.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Formulum: Texas Instruments Version
« Reply #102 on: November 01, 2010, 12:36:23 pm »
Aah ok, yeah Omnimaga has been mostly about calculator games and calculator game programming. There was an era where it was exclusive to RPGs like Final Fantasy too. However, United-TI and CalcG.org became less active in the last two years and most people come here on Omnimaga instead. In the future, I think I will split the projects section so math programs are in their own. It will be easier to see them for people who need school stuff.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Formulum: Texas Instruments Version
« Reply #103 on: November 01, 2010, 12:41:23 pm »
Aah ok, yeah Omnimaga has been mostly about calculator games and calculator game programming. There was an era where it was exclusive to RPGs like Final Fantasy too. However, United-TI and CalcG.org became less active in the last two years and most people come here on Omnimaga instead. In the future, I think I will split the projects section so math programs are in their own. It will be easier to see them for people who need school stuff.

Good idea, then I should start programming a game, since I have an idea already

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Formulum: Texas Instruments Version
« Reply #104 on: November 01, 2010, 12:43:28 pm »
Starcraft ;D

j/k, make sure to not start too big, lol, and do a lot of backups, even if it's just in BASIC. The TI-OSes can crash, too.