[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
declare variable in function in function
From: |
gigiolone123 |
Subject: |
declare variable in function in function |
Date: |
Sun, 27 Jan 2019 15:31:03 -0600 (CST) |
function titan()
global G;
bla();
function bla()
global G;
if (g)..
endfunction
endfunction
hi, it's better to declare global G in main (titan) or in subfunction bla
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- declare variable in function in function,
gigiolone123 <=