load and save documentations

John W. Eaton jwe at bevo.che.wisc.edu
Tue Dec 4 10:50:25 CST 2007


On 30-Nov-2007, Marco Caliari wrote:

| Hi.
| 
| The documentations of load and save do not completely agree.
| 
| octave:1> help load
|  -- Command: load options file v1 v2 ...
|      Load the named variables from the file FILE.
| 
| octave:2> help save
|  -- Command: save options file V1 V2 ...
|      Save the named variables V1, V2, ... in the file FILE.
| 
| Moreover, these lines
| 
|  If save is invoked using the functional form
|  
|           save ("-text", "file.txt", "a")
|  
|      then the OPTIONS, FILE, and variable name arguments
|      (VNAME1, ...) must be specified as character strings.
| 
| are not clear (at least to me). I would suggest:
| 
|  If save is invoked using the functional form
|                                                                                 
|           save ("-OPTION1", "-OPTION2", ..., "file.txt", "V1", "V2", ...)
|                                                                                 
|      then the OPTIONS, FILE, and variable name arguments
|      V1, V2, ... must be specified as character strings.
| 
| and the same for load.

I made similar changes.

Thanks,

jwe


More information about the Bug-octave mailing list