next up previous contents FITSIO Home
Next: 6.5 Data Scaling and Up: 6.4 FITS Header I/O Previous: 6.4.7 Update Keyword Subroutines   Contents


6.4.8 Delete Keyword Subroutines

1
Delete an existing keyword record. The space previously occupied by the keyword is reclaimed by moving all the following header records up one row in the header. The first routine deletes a keyword at a specified position in the header (the first keyword is at position 1), whereas the second routine deletes a specifically named keyword. Wild card characters, as described in the Read Keyword section, above, may be used when specifying the name of the keyword to be deleted (be careful!).

        FTDREC(unit,key_no, > status)
        FTDKEY(unit,keyword, > status)