About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/pad_pack_format.tm.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 pad_pack_format Context: slangrtl

Synopsis

Add padding to a pack format

Syntax

BString_Type pad_pack_format (String_Type fmt)

Description

The pad_pack_format function may be used to add the appropriate padding to the format fmt such that the data types specified by the format will be properly aligned for the system. This is especially important when reading or writing files that assume the native alignment.

See the S-Lang User's Guide for more information about the use of this function.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.