View Full Version : question of TI-basic
08-27-2005, 09:19 PM
I'm using a TI-85 graphing calculator (got it for free and I can't afford another one) and I want to make a text-based roleplay. Problem is, there's a command I can't figure out... more like, a command I can't find.
I need the person playng to be able to put in a TEXT STRING and have the calculator memorize it; for example, taking the name of the player and using it later in the game.
I reintigrate; I need to have the player enter a text string (or word if you prefer) and then have the calculatorsave it as a variable that I can enter with the "Display" command later on.
08-28-2005, 02:04 AM
INPUT "What is your name?" N
Will save whatever is inputed to the variable N.
Will print it out later.
08-29-2005, 05:23 AM
No, that's what I thought, but input only allows you to take either A; a SINGLE variable which you have given value earlier on (and most peoples names are more than one letter) or B; a numeric value.
08-29-2005, 05:54 PM
Okay, I found out how, but NOW I need to set a variable twice :(
I have V=76. Later on I need to make V=V-S, but it's not working...
unlike oder languages, in ti-basic you can't set a variable by doing name=value. You have to enter value->name, where name is the variable's name and -> the STO key. = is for comparison (similar to == in C). So in your example, you have to enter V-S -> V
09-30-2005, 05:52 PM
I'm using a TI-85 graphing calculator (got it for free and I can't afford another one)
heyyy, you're not knockin' the ti-85 are ya? i still use mine weekly... you know you can over clock it too :D
google it, you pull out one SM capacitor, and the darn thing runs over twice as fast...
10-06-2005, 06:15 PM
if you want to store a text string, you can do "(what ever the name of the person is)"->Strl1. Then later, you can Disp Strl1.
by the way, you need to include the " (quotation mark) before and after the name of the person you want to store the text to.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.