aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fsbnfm.x
diff options
context:
space:
mode:
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