SM.Close

Previous  Next

        

result = SM.Close( hHandle AS HANDLE ) AS INTEGER

 


 

Closes a shared memory pool

 

Example:

 

DIM hHandle AS HANDLE

 

' Create a shared memory pool of 1 MB

hHandle = SM.Create( "big_pool", 1024 )

 

' Write 1 to variable Nils.  Create variable if doesn't exist

SM.Write( hHandle, "Nils", 1 )

 

' Close pool

SM.Close( hHandle )