next up previous 278
Next: FTS1_COMNT - Get the value of a FITS COMMENT card from a buffer of cards
Up: Routine Descriptions
Previous: FTS1_BLVAL - Blanks out the value from a FITS-header card


FTS1_BSWAP - Swaps adjacent bytes in an array of bytes

Description:
This swaps adjacent pairs of bytes in an array in situ. This is VAX specific.

Invocation:
CALL FTS1_BSWAP( NBYTE, BYTES, STATUS )

Arguments:

NBYTE = INTEGER (Returned)
Number of bytes. An SAI__ERROR will be returned if this is not an even number.
BYTES( NBYTE ) = BYTE (Given and Returned)
The 16-bit words whose bytes are to be swapped.
STATUS = INTEGER (Given and Returned)
The global status.



next up previous 278
Next: FTS1_COMNT - Get the value of a FITS COMMENT card from a buffer of cards
Up: Routine Descriptions
Previous: FTS1_BLVAL - Blanks out the value from a FITS-header card

KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
9th March 2009
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council