Texas Instruments TI89 Developer Guide - Page 1057
FolderCur, FolderName, CheckGraphDirty, continued
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 1057 highlights
Appendix A: System Routines - Symbol Table Utilities 1015 FolderCur Declaration: Category(ies): Description: Inputs: Outputs: Assumptions: BOOL FolderCur (const BYTE *FolderName, BOOL CheckGraphDirty ) Symbol Table Utilities Make the given folder the default folder. Return TRUE if folder is valid, FALSE otherwise. CheckGraphDirty should always be set to TRUE. FolderName - EStackIndex of folder name. CheckGraphDirty - Set to TRUE (if FALSE, the current graph can become invalid). TRUE - If successful. FALSE - Invalid folder name. push_setfold is similar except that push_setfold throws any errors and returns the current previous default folder on the estack as well as updating the status line with ST_folder. NOTE: Caller must call ST_folder to update the status line unless this is a temporary folder. Side Effects: Status line is NOT updated to reflect current folder. Availability: All versions of the TI-89 / TI-92 Plus. TI-89 / TI-92 Plus Differences: None See Also: push_setfold, push_getfold, FolderGetCur Example: WORD TokenizeFoldName( const char *strFileName, BYTE *TokFName ); DWORD NoCallBack( WORD DlgId, DWORD Value ) { return TRUE; } /* Prompt the user for a folder name and set that to the current default folder. If the user enters nothing or an invalid name, reprompt this time with the current folder. Return TRUE if valid name entered, FALSE otherwise */ BOOL tFolderGetSet( void ) { HANDLE dH = H_NULL; BYTE szBuf[SYM_LEN+1], TokFName[MAX_SYM_LEN], *StrPtr; (continued) TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001