From: | Sandy Brownlee |
Date: | 18 Sep 99 at 13:55:23 |
Subject: | Program Order |
Hello everyone,
Can anyone help me out on this, because it has been driving me madder and
madder the more I try to sort it. The problem is that Blitz needs functions
to be defined before calling it, so I have all my functions tidily set out
at the top of the code. Next comes the main loop, followed by various
subroutines, one of which is used to define all variables, dim arrays etc.
The problem is that one of the functions makes use of an array that is
dim'ed in this subroutine (after the function is declared). Obviously it is
dim'ed when the
function is called, but the Blitz compiler does not realise this, and won't
compile the program. Is there a workaround for this, or will I just have to
do some
major code reorganising? I thought possibly that this was a problem with
the array not being SHARED, but I don't know how to do this with arrays.
Thanks for any help
Regards,
Sandy Brownlee
-----------------------------
Who else would have a sig like this?
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie