setmodpar
 setmodpar | 
   
  Purpose
 
 
 Add or change the value of a parameter in a model parameter string.
 
 
  Synopsis
 
  procedure setmodpar(plist:text, pname:string|text, val:integer|real|boolean|string|text) 
 
  Arguments
 
 | 
     
     plist 
       | 
   
     
     Text object storing the parameters
       | 
  
| 
     
     pname 
       | 
   
     
     Parameter name
       | 
  
| 
     
     val 
       | 
   
     
     Value assigned to the parameter.
       | 
  
  Further information
 
 
 1. This function helps in building the model parameter string to be passed to the
 run procedure. As input it takes a
 text object that it modifies by either adding an assignment of the form
 pname=val or by replacing an existing assignment. The routine adds the necessary quoting as necessary.
 
 
 2. It is expected that the provided text string is either empty or composed of a list of assignments of the form
 "pname=val,pname2=val2...".
 
 
  Related topics
 
  
  Module
 
 
