|
From: | Dan Eriksson |
Subject: | global variables |
Date: | Mon, 24 May 2004 08:09:58 -0500 |
Hi!
I have version 2.1.50 and can't bring global
variables into functions. This is what I get:
global x = 1
isglobal("x")
ans = 1
function test isglobal("x") y=x+1
endfunction test
ans = 0
error: 'x' undefined
Any ideas?
Best regards
Dan Eriksson
___________________________________________________
Dan Eriksson Akustikforum AB Stampgatan 15 416 64 Gothenburg SWEDEN tel: +46 31 156200 fax: +46 31 150580 www.akustikforum.se |
[Prev in Thread] | Current Thread | [Next in Thread] |