next up previous 264
Next: AST_SELECTORMAP - Create a SelectorMap
Up: AST Routine Descriptions
Previous: AST_RETAINFITS - Indicate that the current card in a FitsChan should be retained


AST_SAME - Test if two AST pointers refer to the same Object

Description:
This function returns a logical result to indicate whether two pointers refer to the same Object.
Invocation:
RESULT = AST_SAME( THIS, THAT, STATUS )
Arguments:
THIS = INTEGER (Given)
Pointer to the first Object.
THAT = INTEGER (Given)
Pointer to the second Object.
STATUS = INTEGER (Given and Returned)
The global status.
Class Applicability:
Object
This routine applies to all Objects.
Returned Value:
AST_SAME = LOGICAL
.TRUE. if the two pointers refer to the same Object, otherwise .FALSE.
Notes:
  • Two independent Objects that happen to be identical are not considered to be the same Object by this function.

  • A value of .FALSE. will be returned if this function is invoked with STATUS set to an error value, or if it should fail for any reason.


next up previous 264
Next: AST_SELECTORMAP - Create a SelectorMap
Up: AST Routine Descriptions
Previous: AST_RETAINFITS - Indicate that the current card in a FitsChan should be retained

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