Navigation:  Reference > Functions >

clr_temp_memory()

Print this Topic Previous pageReturn to chapter overviewNext page

CLR_TEMP_MEMORY (1)

 

PURPOSE

This function returns the temporary memory back to 0. ( This should not be needed in "Normal" situation)

 

PARTS

 

1 f/c/e        

 

Options –  (Useful for Debugging).

 

"Status" = Give you the number to Temp Fields used. (Actual Count now)

"Avail" = Give you the Remain Temporary (As given by the system)

"Used" = Give you the Amount of temporary USED (As given by the system)

 

NOTE: Using any of these options will not clear the temporary memory

 

RETURN TYPE - I

 

EXAMPLE

 

    I = Clr_temp_memory()   //This returns temporary memory back to 0

 

     I = Clr_temp_memory('STATUS')   //This returns the number of temporary fields. This will not reset only return the status.

 

       

 

NOTE: Normally in a TAS Professional program this is not needed however we have found that programs that are used for long periods of time and do lots of calculations could run out of temporary memory. By using this function you should be able to reset your temp memory if needed.

 

 


Page url: http://www.cassoftware.com/tas/manual/clr_temp_memory.htm