Results 1 to 13 of 13

Thread: Ti-83 help?

  1. #1

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Ti-83 help?

    Okay, im having troubles with a game im making..its a menu game like pimpquest...

    but what the problem is two things:

    i cant get loops to work for my life, so examples would be great

    and secondly, my variables are wrong. I type x = "Hello"
    then later on ill type: disp x
    and it will return nothing...

    if you need all the code i guess ill post it, but it will take hours

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Ti-83 help?

    Don't you have an emulator for your PC? I am pretty sure you can download one.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Ti-83 help?

    Loops
    Just like VB there are several ways of doing loops.

    The simplest way is to use a label at the start of the loop and a Goto within an If block at the end of the loop, but that's pretty crude.

    *digs out manual*

    Next there is a the For loop. The syntax of this is very like C++.
    Code:
    For(variable, begin, end, [incremenent])
        commands
    End
    So an example would be
    Code:
    For(A,0,5,1)
        Disp A
    End
    And the output would be
    Code:
    0
    1
    2
    3
    4
    5
    Next there is the While loop, which is equivalent to VB's Do While (condition).
    Code:
    While [condition]
        commands
    End
    And then there is Repeat which is equivalent to Do Until.
    Code:
    Repeat [condition]
        commands
    End
    Strings
    You can't store strings within the numerical variables. What you can do is store them within the 10 string variables which are under Vars->7:String.

    e.g.
    Code:
    "HELLO" -> Str1
    Disp Str1
    output is
    Code:
    HELLO
    HTH

  4. #4

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Ti-83 help?

    i dont have an emulator on my pc. the dang calculator thing at the bottom got cookies in it and doesnt work anymore..thanks alot for the loops, i like the if with a goto loop the best here, but i dont want to run out of ram...so ill figure stuff out..thanks

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Ti-83 help?

    Hey, I think I may still have one of those sitting in a drawer somewhere

    Check out this link: There are lots to choose from

    http://www.ticalc.org/basics/calculators/ti-83.html

  6. #6

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Ti-83 help?

    okay , so ive got it working (the variables)
    now how do i get the variable to minus 5 from itself? i thought like
    varX = varX - 5
    or
    varX -> varX - 5

    any ideaS?

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Ti-83 help?

    (X-5) -> X

    The assignment operator takes the left hand side and assigns it to the right

  8. #8

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Ti-83 help?

    okay sweet!

  9. #9
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Ti-83 help?

    Was the TI-83 the first in this range to support strings? I have a TI-82 and I can't remember being able to use strings on it.
    I don't live here any more.

  10. #10
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Ti-83 help?

    I believe it was. I just looked through the -82 documentation and couldn't find any reference to string variables, in the places where they occur in the -83 manual.

    Do you have Vars->String ?

  11. #11
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Ti-83 help?

    No. I checked last night and that menu only has 6 entries in it. I used to get around it by having a large and clumsy program that would print string literals to the screen as if it was a string aray. I just set the Theta variable to the number of the string I wanted to show and then call the program, which looked at Theta in an IF block and printed the appropriate string accordingly. Very bodged but it just about did the trick.

    I did find the screenshot facility very useful though. For my maths GCSE we weren't allowed to have any programs in our calculators, so I rigged up a screenshot of a blank program menu and showed that to the invigilator when I went in. Very handy.

  12. #12
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Ti-83 help?

    In South Aus the invigilators come round and watch us while we clear the memory But we're exempt from doing that in Maths subjects

    How do you do a screenshot?

  13. #13
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Ti-83 help?

    Quote Originally Posted by penagate
    In South Aus the invigilators come round and watch us while we clear the memory But we're exempt from doing that in Maths subjects

    How do you do a screenshot?
    Some emulators support export screenshots, or most file transfer programs for comp to calc support screenshots.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width