This function detaches from the grid interface. This routine should be run before exiting from the grid file for every grid opened by EOS_GD_CREATE or EOS_GD_ATTACH.
Result = EOS_GD_DETACH(gridID)
Returns SUCCEED(0) if successful and FAIL(-1) otherwise.
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.
None.
In this example, we detach a grid structure:
status = EOS_GD_DETACH(gridID)
Introduced: 5.2