![]() Instead, you have 2 choices of inputting variables: Request or argument. Many of you may have noticed the lack of the normal Input or Prompt commands. Any variables that are not declared this way will be considered global. This defines the variable as being local to the program or function. All this consists of is typing at the beginning of the program "Local var1,var2.". Both kinds of variables can be used the same exact way however, before a local variable can be used, it must be declared. After the program or function has ended, the variable loses its value. A local variable only maintains its value inside of the program or function that it is used. When you use a global variable, it will show up in the Var list. It will have a different value in a different document. It maintains its value throughout the document. A global variable is the most common variable. Please note that I myself am new to the Nspire and as a result my thoroughness on its programming is extremely limited, but I will update this page as I learn more.Īs with the TI-89, the Nspire has two main kinds of variables: global and local. ![]() Some of you may have noticed after you upgraded to the TI-Nspire that the programming is a little bit different and maybe a little bit confusing even for experienced programmers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |