help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: explanation what "error: can't redefine read-only symbol foo" means


From: Andreas Romeyke
Subject: Re: explanation what "error: can't redefine read-only symbol foo" means in detail
Date: Tue, 06 Mar 2007 15:05:10 +0100
User-agent: Icedove 1.5.0.9 (X11/20061220)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Muthiah Annamalai wrote:
>> Hi,
>>
>> I did not found a long description what the error message "error:
>>  can't redefine read-only symbol foo" means in detail.
> What is 'foo'? or $(foo)
The function "foo"...
>
>> Please could anyone tell me an example which generates the error
>> above? It seems to me that the function where Octave reports this
>>  error is similar to:
>>
>> function [bar] = foo(baz) [..] if (..) bar2=foo(baz2) end
>>
>
> I cant understand what youres saying. It seems like an interesting
> puzzle, but Im afraid I may not have time to sort it out, unless
> you can be more clear.
See second mail to David... I hope it will be much clearer...
>
> What version of Octave are you running?
2.9.9
> Recursive functions are supported in Octave, for as long as Ive
> been using it.
Ok, the problem depends not on recursion. Do you have an example (a
function foo) that triggers the error message "error: can't redefine
read-only symbol 'foo'"?

bye Andreas

- --
Software Developer / Dipl. Inform. (FH)
Max Planck Institute for Human Cognitive and Brain Sciences
Department of Psychology
Stephanstr. 1a, 04103 Leipzig, Germany

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF7XUWGBhgJGthyeERAii9AJ4sh0SEBwE8bVJMHcz3ojOr7OmqfQCgtb1c
czv5IpcNqrz9ZtJvil/u+nI=
=5lIL
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]