help-octave
[Top][All Lists]
Advanced

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

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


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

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

Hi,

I did not found a long description what the error message "error:
can't redefine read-only symbol foo" means in detail.

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

But recursive calls should be allowed or I am wrong? I read the
documentation but I did not found a detailled explanation about
recursion or the error message above.

Please could you tell me?

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)

iD8DBQFF7WafGBhgJGthyeERAlmoAJ9sa1abh+T/AfR8nuVpQ1GY2bA9eACfV2Ev
GSg1jCmUnQrJ30b/+quebHQ=
=PIXd
-----END PGP SIGNATURE-----



reply via email to

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