Deletes a position saved by
HSavePosition. Used to free the memory allocated to the management of positions.
// Save the position
nPos is int = HSavePosition(Customer, Name)
...
// Processes
...
// Delete the useless position
HFreePosition(nPos)
Syntax
<Result> = HFreePosition(<Position>)
<Result>: Boolean
- True if the specified position has been deleted,
- False otherwise. HError returns more details about the problem.
<Position>: Integer
Number of a position that was saved beforehand, returned by HSavePosition.
Remarks
Positions not deleted by programming will be automatically deleted when the application is closed
Business / UI classification: Business Logic