[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
function scope javaclasspath
From: |
JonG |
Subject: |
function scope javaclasspath |
Date: |
Wed, 10 Mar 2010 13:28:47 +0000 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Hi,
I've just started learning Octave. I made a script file that says:
disp(javaclasspath);
when i run that it displays my javaclasspath as expected,
but if I put that in a function file qweqwe.m:
function qweqwe()
disp(javaclasspath);
endfunction
it displays:
{
[1,1] =
}
- what's going on here ? Presumably it's to do with the scope of
variables in functions. How would I correctly reference the
javaclasspath in a function ?
cheers