ftsetp, ftgetp

Set and retrieve parameters for Fitgrid routines. NCL affords a convenient implementation of these parameter setting and retrieval functions.


Synopsis

    procedure ftsetp(
        pnam[1] : string,
        pval[1]
    )

    function ftgetp(
        pnam[1] : string,
    )



Arguments

pnam
name of the parameter you want to set or retrieve
pval
value of the parameter you want to set; this value must be of the type appropriate to the parameter being set.

Description

The procedure ftsetp is used to set values for fitgrid parameters; the function ftgetp is used to retrieve the current value of the named parameter. ftgetp returns a value that is of the type appropriate to the parameter type.

Example

begin
  ftsetp("sig",0.9)
  cur_sig = ftgetp("sig")
  print(cur_sig)
end

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.6 $ $Date: 1998/11/11 23:32:19 $