[futurebasic] Re: Fear and Loathing Guide

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1997 : Group Archive : Group : All Groups

From: David Blache <microcsm@...>
Date: Fri, 28 Nov 97 09:15:52 -0600
Terence Jordan wrote:

>>'direct manipulation of a property
>>SetRect(myShape.oRect,10,10,100,100)
>>myShape.Draw
>
>Could you perhaps say:
>
>METHOD setShape(int x,int y, int x2, int y2)
> Call SetRect(x,y,x2,y2)
>END METHOD
>
>And then call it:
>myShape.setShape(x,y,x2,y2)
>
>Not trying to rewrite the wheel(for once), just trying to see if I "get it"
>or not.

No. Methods in FB^3 have one single parameter.  The descision to do this 
was made early on to keep the interface simple.

========================================
|       David Blache - Developer       |
========================================
|   Staz Software, Inc - Stazologist   |
|        (tech@...)       |
|   Microcosm Software, Inc. - Owner   |
|        (microcsm@...)        |
========================================