Programming Troubles

by b-flat, Aug 16, 2006, 12:05 AM

I found something very interesting about my TI-84+SE when I was working on a Yukon Trail game while driving somewhere (forgot where).

If you use
:56->x
:Text(56(fpart(x/56),45(x>=56),"ROPE

You get ERR:DOMAIN

However, if you use
:Text(0,45,"ROPE

It works fine

Any thoughts why this might be? I haven't changed the coding, but now, it works. This is really wierd.

I have started learning MatheMatica as a programming language. It is incredibly powerful, but it doesn't really seem to me like a language you would use to make actual applications, etc. I can see how C works, and I was learning C, but my dad doesn't know how to really use the Windows Visual Studio thing that compiles the programs. It has a ton of options, like C#, C++, VB, etc, but I don't know how to do some simple C such as

/* add two numbers and print result */

main()
(
int sum, x, y;

x=20;
y=30;
sum = x+y;
printf("The sum of %d and %d = %d", x, y, xum);
)


It isn't anything like the book I was using said it would be like (the books only about 23 years old).

Anyone know how I could write just C using MicroSoft Visual Studio?

Comment

3 Comments

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Eh, mayhap the DOMAIN err is from not closing the 56( parenthesis? :P And are you serious about the book being only about 23 years old?

by solafidefarms, Aug 16, 2006, 1:24 PM

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Yep, I got it from my dad's office.

by b-flat, Aug 16, 2006, 3:34 PM

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
and wtf is "xum"

spell your variables correctly

by not_trig, Nov 17, 2006, 8:18 PM

Things posted when I feel like it

avatar

b-flat
Shouts
Submit
  • 11 year bump?

    by impromptuA, Sep 3, 2024, 2:33 AM

  • hey $~~~~~~~~~~~~~~~~~~$

    by NewAlbionAcademy, Jan 26, 2013, 7:15 AM

  • Hello?? Anyone here?

    by El_Ectric, Nov 18, 2010, 3:36 AM

  • yooo

    by SonyWii, Aug 25, 2009, 4:01 PM

  • ...hello? is anyone there?

    by qwertythecucumber, Mar 2, 2009, 12:30 AM

  • bflat!

    by vvipul, Dec 9, 2008, 11:50 PM

  • :D :D :D :D :D :D :D :D :D :D :D :D
    hmmm this blog shouldn't be dead anymore

    by gauss1181, Oct 26, 2008, 11:52 PM

  • Hmmm...

    by Aylsero, Sep 14, 2008, 4:26 AM

  • DEATH
    just following the 1 shout trend

    by serialk11r, Sep 3, 2008, 2:43 AM

  • DEATH

    by not_trig, Jul 10, 2008, 9:16 PM

  • bryce you appear to be copying my blog name

    by CatalystOfNostalgia, Jul 8, 2008, 12:13 AM

  • It's a dead blog!

    by jb05, Apr 1, 2008, 11:48 AM

  • FP

    by solafidefarms, Jun 6, 2006, 12:43 AM

13 shouts
Contributors
Tags
About Owner
  • Posts: 1903
  • Joined: May 15, 2005
Blog Stats
  • Blog created: May 5, 2006
  • Total entries: 49
  • Total visits: 33127
  • Total comments: 72
Search Blog
a