PKG function in 3.2.0 not working as described in the help

Ben Abbott bpabbott at mac.com
Sun Jun 14 19:21:36 CDT 2009


On Jun 14, 2009, at 4:51 PM, Benjamin Lindner wrote:

> Tribo Laboy wrote:
>> Bug report for Octave 3.2.0 configured for i686-pc-mingw32
>>
>> Description:
>> -----------
>>
>> commands such as:
>>
>> pklst = pkg list;
>>
>> are possible according to the help of 'pkg' and, indeed, worked  
>> before 3.2.0.
>> Currently the command produces the following error:
>>
>>> pklst = pkg list;
>> parse error:
>>
>> syntax error
>>
>>>>> pklst = pkg list;
>>               ^
>>
>
> This runs fine if you issue
> pkgl = pkg("list");
>
> I'm not sure that
>    pkgl = pkg list;
> is even valid syntax, so I'm not surprised it issues a syntax error.
>
> benjamin

I don't believe that is proper syntax. If I understand correctly,  
commands do not return a result.

Ben



More information about the Bug-octave mailing list