aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fsbnfm.x
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/tbtables/fitsio/fitssppb/fsbnfm.x
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/tbtables/fitsio/fitssppb/fsbnfm.x')
-rw-r--r--pkg/tbtables/fitsio/fitssppb/fsbnfm.x21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/fitssppb/fsbnfm.x b/pkg/tbtables/fitsio/fitssppb/fsbnfm.x
new file mode 100644
index 00000000..37ddb13f
--- /dev/null
+++ b/pkg/tbtables/fitsio/fitssppb/fsbnfm.x
@@ -0,0 +1,21 @@
+include "fitsio.h"
+
+procedure fsbnfm(tform,dtype,rcount,width,status)
+
+# 'Binary Format'
+# parse the binary table column format to determine the data
+# type and the repeat count (and string width, if it is an ASCII field)
+
+char tform[SZ_FTFORM] # i column format
+% character*16 ftform
+int dtype # o datatype code
+int rcount # o vector column repeat count
+int width # o width of character string
+int status # o error status
+
+begin
+
+call f77pak(tform ,ftform ,SZ_FTFORM)
+
+call ftbnfm(ftform,dtype,rcount,width,status)
+end