 |
FolderDelAllTemp |
Function (ROM Call 0x75) |
Deletes a block of temporary folders.
FolderDelAllTemp deletes all temporary folders whose names are series of consequent
numbers starting from StartTempNum up to the first unused number, like in
following algorithm:
current=StartTempNum;
while (FolderFind ((name = TempFolderName (current++))) == 3)
FolderDel (name);
The intention of this routine was very probably to delete all temporary folders when called
with StartTempNum equals to 1. But, there is a problem. This routine does not reset
the system variable which tells which is last used temporary folder number (I think that this
is a bug in TIOS). So, a next call of FolderAddTemp will not start again
from folder named "0001". This may cause various problems later. That's why I strongly recommend
avoiding this routine, and using repeated call to FolderDelTemp
instead.
Uses: FolderDel, TempFolderName
Used by: GR3_paint3d, de_initRes, de_loop, execute_graph_func, gr_execute_de, gr_execute_seq, InitTimeSeq, run_one_seq, seqWebInit