Next: AST_ESCAPES - Control whether graphical escape sequences are included in strings
Up: AST Routine Descriptions
Previous: AST_EMPTYFITS - Delete all cards in a FitsChan
AST_END
-
End an AST context
- Description:
- This routine ends an AST context which was
begun with a matching invocation of AST_BEGIN. Any Object
pointers created within this context will be annulled (just as
if AST_ANNUL had been invoked) and will cease to be valid
afterwards, unless they have previously been exported using
AST_EXPORT or rendered exempt using AST_EXEMPT.
If annulling a pointer causes an Object's RefCount attribute to
fall to zero (which happens when the last pointer to it is
annulled), then the Object will be deleted.
- Invocation:
- CALL AST_END( STATUS )
- Arguments:
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Class Applicability:
-
Object
-
This routine applies to all Objects.
- Notes:
- This routine attempts to execute even if STATUS is set to an
error value.
- Contexts delimited by AST_BEGIN and AST_END may be nested to any
depth.
Next: AST_ESCAPES - Control whether graphical escape sequences are included in strings
Up: AST Routine Descriptions
Previous: AST_EMPTYFITS - Delete all cards in a FitsChan
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council