The TipList Chapter 7
TIBasic Programming Tips
[7.1] Create evaluated Y=Editor equations in programs
[7.2] Using the built-in function documentation in CATALOG
[7.3] Using language localization
[7.4] Return error codes as strings
[7.5] Considerations for referencing external programs
[7.6] Recursion limits
[7.7] Use return instead of stop in programs for better flexibility, and to avoid a crash
[7.8] Return program results to home screen
[7.9] Passing optional parameters to functions and programs
[7.10] Calling built-in applications from your programs
[7.11] Run programs before archiving for better execution speed
[7.12] Access a variable from any folder with "_" (underscore)
[7.13] Write to program & function arguments
[7.14] Determine calculator model and ROM version in programs
[7.15] Avoid For ... EndFor loops
[7.16] Use when() instead of if...then...else...endif
[7.17] Returning more than one result from a function
[7.18] Simplest (?) application launcher
[7.19] Bypass programs locked with ans(1) and 4»errornum:passerr
[7.20] Running programs within a program
[7.21] Use 'undef' as an argument
[7.22] Local documentation for functions and programs
[7.23] Passing user function names as program/function arguments
[7.24] Use a script for self-deleting set-up programs
[7.25] Use scripts to test program and functions
[7.26] dim() functions slow down with lists and matrices with large elements
[7.27] getmode() returns strings in capital letters
[7.28] Use long strings with setMode() in custom menus
[7.29] Table of getConfg() list elements
[7.30] sign() function is not compatible with other programming languages
[7.31] return shows variables during debugging
[7.32] Documenting programs
[7.33] Local functions must be declared as local variables
[7.34] Use linefeed char(10) for separate lines in program Help
[7.35] Conditonal test in If ...EndIf evaluates all 'and' arguments
[7.36] Input arguments for 'keyboard' programs
[7.37] Simulate SWITCH or CASE statement with GOTO and indirection
[7.38] Why use TI Basic?
[7.39] Quickly delete locked, archived variables
[7.40] Recall expression without variable value substitution
[7.41] Indirection bug with local variables
[7.42] Find variable names used in expressions
[7.43] Faster function calls with list and matrix arguments
[7.44] Local subroutines execute faster than global subroutines
[7.45] Display text in multiple fonts, and Pretty-Print expressions
[7.46] 'Custom' command makes menu labels for trapped function keys
[7.47] Global variables not evaluated when local variable has the same name
[7.48] Create functions in programs
[7.49] Read and write text variables
[7.50] Modify loop control variables within the loop