Command IPAR


     Parameters

IPAR name      
     values    
     /
     DELETE    
     NOCONFIRM 
     READ      
     SAVE      
     PATH(pp)  
     DIR(dd)   
     FILE(ff)  
     LIST      
     GRAPHIC   
     ZEROES    

     USER(uu)  
     PDS(pp)   
     MEMBER(ff)

Purpose

  Handles global parameters

Function

  Handles input and output of global parameters.
  These are data (numeric and character) items defined in a session.
  Global parameters can be scalar or multidimensional arrays.

Example


     IPARDCL a(3) / type(4)
     IPAR a(2) 1
     IPAR a(*) / list

     gives

     A(1..3) double
     0 1 0

Parameter names

Name of the global parameter. If names=* all global parameters are affected.
Wildcard patterns are supported. Except for deleting or saving
array indices are supported.

Parameter values

Value(s) to be assigned to the global parameter.

Parameter DELETE

Delete the specified global parameter, after confirmation.

Parameter NOCONFIRM

Suppress confirmation for deletion.

Parameter READ

Read global parameter values from a file specified by PATH(pp) DIR(dd) and FILE(ff)

Parameter SAVE

Save global parameter values to a file specified by PATH(pp) DIR(dd) and FILE(ff)
You will need write permission for the output file.

Parameters PATH(pp),DIR(dd),FILE(ff)

Input and output file names are build like this:

      pp/dd/ff

USER() is an alias for PATH(), PDS() for DIR() and MEM() for FILE(), respectively.
They exist for backward compatibility only and should not be used.

Parameter LIST

Lists the value(s) of the global parameter(s) on terminal

Parameter GRAPHIC

Lists the value(s) of the global parameter(s) on the current graphics window, if any.
Not yet implemented.

Parameter ZEROES