Re: Ideas for next Eu
On Fri, 5 Nov 1999, Darth Maul wrote:
> You know how in Q(uirk)Basic, all values are passed to FUNCTIONs/SUBs by
> reference? Maybe you should add a 'byref' keyword so that variables are pas-
> sed by reference. This would make porting progs from QB to Eu a little
> easier.
Ick! IMHO it is a poor practice to have variables passed to a sub or
function be globally changed by that sub or function. Besides, you
can already easily accomplish that same effect by declaring your
variables outside of your subs/functions (then you don't even need to
pass them). There is more than one way to get around your porting problem
than to introduce that ugliness into Euphoria. But again, that's just my
opinion.
Can you provide a better reason for this inclusion (besides making it
easier to port poorly written QB progs)?
-- Brian
|
Not Categorized, Please Help
|
|