Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/5.4.1/doc/param/node5.html
Дата изменения: Fri Jan 10 21:32:35 2003 Дата индексирования: Sat Dec 22 07:24:43 2007 Кодировка: Поисковые слова: р п р п р п р п р п п р п |
The following parameter types are supported:
b boolean i integer r real s string y directory f file-name e data-set k block t table a array c column u angle w time Upper-case letters are used for lists of the corresponding lower-case type: B list of booleans I list of integers R list of reals S list of strings Y list of directories F list of file-names E list of data-sets K list of blocks T list of tables A list of arrays C list of columns U list of angles W list of times
The use of different types allows the parameter interface to check that the value is syntactically correct and, where appropriate, within an allowable range. It also allows the GUI to provide appropriate widgets for entering the values.
For example, a file-name is simply a string, as far as the task is concerned. However, using a separate type allows the GUI to present the user with a file dialog, instead of a simple string-edit field.