[futurebasic] Re: [FB] What about Pascal VARs ??

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2001 : Group Archive : Group : All Groups

From: Jamin <benjamen@...>
Date: 18 Apr 2001 12:00:39 +1000
On Wednesday, 18 April 2001, lcs@... wrote:
>
>Next, here is some smart proto-FB^3 syntax that does not yet
>work:
>
>'' CONSOLE MODE
>LOCAL FN AssignSevenTo(@X&)
>  X&=7
>END FN
>''
>FN AssignSevenTo(@X&)
>PRINT X& '' should yield 7
>

Just change:
FN AssignSevenTo(@X&)

to

FN AssignSevenTo(X&)

and it should work.

Jamin