ok, so I'm completely new to coding on calculators and I was trying to find a way if you can create a profile /logins for this project I'm doing if any you guys can help it will be awesome.
No, TI-OS does not have support for multiple users. In my opinion programming on the calculator itself is rather annoying and as seen here your files can be lost. I've never had that happen before, but if the calculator crashes(which it will) it clears the user RAM containing your programs. You can back up your programs to flash memory, but you can't run them from there without Doors CS or another assembly program.
4920616D204261746D616E
ok, I wish that were possible but guess not. and another follow up question, is there a way to create a list of items. like for example if you start up the code and I say welcome and it prompts you if you want to select a list that has been made is that possible
Yes. It is possible to create multiple users for a program. You can do this via the Celtic 3 flash app library (You can download it in this file here) . What you can do is creating different app vars for diffrent users. So for example, you can create a user called SAM. So the app var would be called Sam. So on the home screen, you can do:
To verify that a app var is a user file for the specific program, you can do in your program:
det(5,1,"rowSwap(Sam
If Ans≠"Prog_User":Then
Disp "Not a user!
Pause
ClrHome:Return
End
You can read info more about it here. This only works for the TI-83/84/+/SE series, excluding color calculators.
EDIT: A list of what? Numbers? Program? Groups? App vars?
Hewwo, my name is Achak Claw. I was formerly BioHazard.
So if I was making like a startup can use this and I will be like a log in ? and also when I said list I was saying like a list of prompts like for example in the list it had:
.bread
.water
.corn
.apple
And when a user came and typed bread it would say "accepted" and will do a function like activate a motor or redirect the user to more option pertaining to bread
And another question(sorry) is there a way to make like a search bar of like a way to search for things
What programming language is this? Is this TI-BASIC or z80 assembly?
Hewwo, my name is Achak Claw. I was formerly BioHazard.
Search for what? Lists (ex {1,5,.3,1.15}), Matrices (ex [[1,4,6][8,1,3]]), Programs, Appvars, or groups?
Another question, what exactly do you want your program to be about? I can make a version similar to the one your planning to do.
Hewwo, my name is Achak Claw. I was formerly BioHazard.
I wanted it to search through a list of matrices(sorry I literally learned what that was in computer science today).
And what I wanted my code to do is if a user were to type in the word "bread" they would get a more detailed list of bread products and when they choose "Ann's bread" it would say selection accepted and it would tell you how much is in stock how much it is and discounts. but if they were to type something random that isn't in the list like "asfkdfk" it would say invalid and ask them for and ask them for another entry. and I was going to integrate some hardware function like if they picked "Ann's bread" a motor will spin and that food item will be presented to them.
But I really don't need the code anymore because I was entered into a TI coding contest by Texas Instruments. made it to the second round where you had to describe your code and some other stuff by I didn't advance to the next round where you actually code and build the product. so you doing this for me would of been super helpful but there's no use anymore, but thank you so much.
but also one of the other teams fro my school got accepted so if they had any questions or guidance I can refer them to you or I can just ask you what they need only if that's fine with you.
Well, a matrix can only store numbers; So really you wanted to search through a table, similar to a database. What your project would have been is creating a sort of database using strings, and then searching through that database. Essentially, you would have:
Category | Item | Price | Quantity | Key |
---|---|---|---|---|
Bread | Sourdough | 1.59 | 17 | 1 |
Bread | Rye | 1.19 | 35 | 2 |
Fruit | Apple | 0.99 | 72 | 3 |
Fruit | Pear | 1.74 | 24 | 4 |
Bread | Cinnamon Raisin | 2.59 | 32 | 5 |
Vegetable | Lettuce | 0.89 | 20 | 6 |
Fruit | Orange | 0.99 | 67 | 7 |
And so Typing in “Bread” would be the same thing as a SQL query of “SELECT * FROM Items WHERE category=‘Bread’” and it would return:
Category | Item | Price | Quantity | Key |
---|---|---|---|---|
Bread | Sourdough | 1.59 | 17 | 1 |
Bread | Rye | 1.19 | 35 | 2 |
Bread | Cinnamon Raisin | 2.59 | 32 | 5 |
So then you could type in “Rye” and that would be the same thing as a SQL query of “SELECT * FROM Items WHERE category=‘Bread’ AND item=‘Rye’” and it would return:
Category | Item | Price | Quantity | Key |
---|---|---|---|---|
Bread | Rye | 1.19 | 35 | 2 |
I think having a database tool for the calculator would be really sweet, but I think it would take a lot of coding to work on the 83/84 series. Not only do you have to deal with memory limitations, but also computation speeds. If you could make an APP instead of a Program it might be easier, but still difficult. I would think the nSpires could do this, although I’m not sure as the documentation is still pretty limited.
Wow, thank you for the visualization and explanation. I still trying to learn some TI code so I will see if I can replicate thins somewhere in the future. ( like I literally learned what a matrix was in computer science two days ago 😂) so I'm still learning how to do stuff but eventually, I will get there thx.
I am just going to ask that the title of this page is changed to ¨Creating Profiles.¨ The spelling error is driving me insane.
Satisfaction has been achieved. THX!!! :)