|
We're glad you came by, but you might find what you're looking for elsewhere. TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it. Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope. |
A short description of what the command does.
setFold(foldername)
Menu Location
This command can't be found in any menu besides the command catalog.
This command works on all calculators.
X byte(s)
This command is used to set the current folder. The folder must exist, otherwise the function produces an error. This is a way around this error:
:example()
:Prgm
:Try
:setFold(fold1)
:Else
:ClrErr
:NewFold(fold1)
:EndTryAdvanced Uses
If you are changing the current folder, but want to set it back later, the getFold() command is not required to store the old folder name.
For example:
:foldset()
:Prgm
:Local a
:getFold()→a
:setFold(fold1)
...
:setFold(#a)
:EndPrgmdoes the same thing as
:foldset2()
:Prgm
:Local a
:setFold(fold1)→a
...
:setFold(#a)
:EndPrgmError Conditions
420 - Invalid Folder Name happens when the folder does not exist.
