Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.5.0/doc/hello.ps.gz
Дата изменения: Tue Aug 16 02:39:07 2005
Дата индексирования: Tue Oct 2 01:30:50 2012
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п
XMM-Newton Science Analysis System Page: 1
hello
August 15, 2005
Abstract
SAS example task. This is used as a template for the SAS documentation system.
Text emphasized is not part of the documentation, but is used to explain what should
go in each section. If you need to cite any documents or articles, please use the BibTeX
le provided with the SAS. You may need to add entries to that le: feel free to do
so, but please send the updated le to the SOC so that it can be maintained.
1 Instruments/Modes
Indicate what instruments and what modes are covered by the task.
Instrument Mode
na na
2 Use
Indicate whether the task is used only in the interactive analysis or also in the pipeline.
pipeline processing yes/no
interactive analysis yes/no
3 Description
Describe what the task does to your heart's content. The SAS infrastructure provides additional LatTeX
macros . Please use them
hello is an example. It is invoked on the command line and it prints a friendly greeting together with
the value of its only parameter set.
Next section describes the task's parameters. Please use the macros supplied, that guarantee uniformity
of look. Here's how the next three parameter descriptions appear in the source. Note that the parameters
are described in a special environment.
This is why these comments seem to be at the wrong place. Refer to the documentation of the param
package for a list of allowed types.
xmmsas 20050815 1803-6.5.0

XMM-Newton Science Analysis System Page: 2
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
mandatoryparam yes type default value constraints
description for mandatory parameter
optionalparam no type default value constraints
description for optional parameter
set no set set.ds
the value of this parameter is printed out
Similarly for the error conditions. Please start with the errors, then the warnings, and put them into the
taskerrors environment.
5 Errors
This section documents warnings and errors generated by this task (if any). Note that warnings and
errors can also be generated in the SAS infrastructure libraries, in which case they would not be docu-
mented here. Refer to the index of all errors and warnings available in the HTML version of the SAS
documentation.
ErrorLabel (error)
This is what the error means.
WarningLabel (warning)
This is what the warning means.
corrective action: This is the corrective action.
6 Input Files
Describe the input les. Refer to the appropriate documents if necessary.
1.
7 Output Files
Describe the output les. Refer to the appropriate docuemnts if necessary.
1.
xmmsas\_20050815\_1803-6.5.0

XMM-Newton Science Analysis System Page: 3
8 Algorithm
character(len=128) :: setname
setname = stringParameter("set")
write(*,*)'Hello! The value of the parameter set is: ', setname
9 Comments
Comments, problems, special requirements, things to watch out for.
 No comment here!
References
xmmsas 20050815 1803-6.5.0