aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fsmcom.x
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tbtables/fitsio/fitssppb/fsmcom.x')
-rw-r--r--pkg/tbtables/fitsio/fitssppb/fsmcom.x20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/fitssppb/fsmcom.x b/pkg/tbtables/fitsio/fitssppb/fsmcom.x
new file mode 100644
index 00000000..7c762ecd
--- /dev/null
+++ b/pkg/tbtables/fitsio/fitssppb/fsmcom.x
@@ -0,0 +1,20 @@
+include "fitsio.h"
+
+procedure fsmcom(ounit,keywrd,comm,status)
+
+# modify the comment string in a header record
+
+int ounit # i output file pointer
+char keywrd[SZ_FKEYWORD] # i keyword name
+% character fkeywr*8
+char comm[SZ_FLONGCOMM] # i keyword comment
+% character fcomm*72
+int status # o error status
+
+begin
+
+call f77pak(keywrd,fkeywr,SZ_FKEYWORD)
+call f77pak(comm ,fcomm ,SZ_FLONGCOMM)
+
+call ftmcom(ounit,fkeywr,fcomm,status)
+end