[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem of using global declaration:-)
From: |
Yip Fai |
Subject: |
problem of using global declaration:-) |
Date: |
Tue, 27 Oct 1998 10:38:26 +0800 |
Hi,
I have a question about using global declaration. When the global
variable is operated by isempty inside a function, octave tell me that
the variable is undefined. However, if the variable is defined as
following.
global a = [];
inside the function, the operation goes on without error. But this
declaration causes drawback of using a function whenever I want. Is
there any better way to declare a global variable?
Thanks
Ken
- problem of using global declaration:-),
Yip Fai <=