Hi, I wonder if there is a way that you can modify the Ans variable in a C program, I want to do specific tasks with the speed of C, but most of the task with ti-basic, and I want the C program to return the value I desired. I don't think if there is a function in the tice.h file that allows you to store values into the Ans variable. I wonder if that is possible.
Read the examples please. Honestly every single question you have asked has a dedicated example to go with it:

https://github.com/CE-Programming/toolchain/blob/master/examples/fileio_os_vars/src/main.c#L55-L60
To be fair, "fileio_os_vars" does not really imply that the example might contain something related to Ans. Everyone who uses the toolchain should of course read all of the examples, but because many example programs do more than one thing it might be a good idea to have a Dev FAQ or Example Index which would list that kind of thing with a link to the relevant example.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement