2008/9/10 Peter W. Draper <[log in to unmask]>:
> On Wed, 10 Sep 2008, David Berry wrote:
>
>> I think there are a few uses of "%" in kappa. E.g. listmake.f:
>>
>>
>> * Report an error if we are using pixel centres.
>> IF( MODE .EQ. 'PIXEL' .OR. MODE .EQ. 'GOOD' ) THEN
>> STATUS = SAI__ERROR
>> CALL ERR_REP( 'LISTMAKE_ERR1', 'Parameter %MODE has been '//
>> : 'set to a value which requires an NDF, '//
>> : 'but a null value was given for parameter '//
>> : '%NDF.', STATUS )
>> END IF
>>
>> There are MSG_OUT calls in elprof.f that use "%".
>
> CCDPACK uses the more testing:
>
> CALL MSG_SETC( 'NAME', NAME )
> CALL ERR_REP( 'CCD1_NDFAC',
> : ' Unable to obtain valid list of NDF names using'//
> : ' parameter %^NAME' , STATUS )
So what happens if you include both the "%" character AND the "^"
character? The "Parameter References" section of SUN104 implies you
replace "^" by "%".
David
> in CCDNDFAC.
>
>
>>
>> 2008/9/10 Tim Jenness <[log in to unmask]>:
>>>
>>> Does anyone have any examples of an application using the MERS escape
>>> characters in MSG_OUT or ERR_REP calls? Specifically:
>>>
>>> CHARACTER MSG__KEYEC ! Keyword escape character
>>> PARAMETER( MSG__KEYEC = '%' )
>>>
>>> CHARACTER MSG__REFEC ! Reference escape character
>>> PARAMETER( MSG__REFEC = '$' )
>>>
>>> I've recoded msg1Form in C but am wondering how to test it, since apart
>>> from
>>> ^STATUS support (easy to test) msg1Form spends all of its time handling
>>> escapes.
>>>
>>> --
>>> Tim Jenness
>>> JAC software
>>> http://www.jach.hawaii.edu/~timj
>>>
>>
>>
>>
>> --
>> Note my change of e-mail address. Please send e-mail to
>> [log in to unmask] from now on.
>>
>
> --
> Peter W. Draper, http://astro.dur.ac.uk/~pdraper
>
--
Note my change of e-mail address. Please send e-mail to
[log in to unmask] from now on.
|