[futurebasic] Odd Parameter Syntax

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2009 : Group Archive : Group : All Groups

From: Max Taylor <maxclass@...>
Date: Thu, 19 Mar 2009 18:07:52 -0700
From: Subs Appearance Btns.incl

local mode
runtime def BtnRect( @rPtr as ^Rect, btnNum as long )
'~'1
fn GetControlBounds( button&( btnNum ), =rPtr )
end fn


While searching some files I came across the above runtime declaration.

The last parameter of 'GetControlBounds' is given as "=rPtr".

I don't think I have seen a parameter with an "=" sign proceeding it  
before.

Is this a legal syntax?

It appears to cause no problem but it is a bit odd/unusual.


Max Taylor
The MaxClass Guy