[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
function nested and global variables : loss reference
From: |
LucaLuca |
Subject: |
function nested and global variables : loss reference |
Date: |
Fri, 10 May 2019 05:15:25 -0500 (CDT) |
hi, look this code::
function Test()
global b;
b=4;
A();
b
function A()
b=7;
endfunction
endfunction
>> Test
error: 'b' undefined near line 8 column 1
error: called from
Test at line 8 column 1
I need to use variables global but i see i loss reference variables
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- function nested and global variables : loss reference,
LucaLuca <=