[futurebasic] RE: [FB] CODE RESOURCE

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

From: "Edwards, Waverly" <Waverly.Edwards@...>
Date: Wed, 17 Apr 2002 10:10:26 -0400
The issue is with the use of the PRINT statement.
You will want to use convert the number to a string
using the toolbox NUMTOSTRING, MOVETO to position the
string on the screen then print the using the toolbox 
DRAWSTRING.

you could make a functional equivalent

LOCAL FN printNumber(theNum AS numericType)
// MOVETO
// NUMTOSTRING
// DRAWSTRING
END FN


W.

-----Original Message-----
From: Andrea P. [mailto:andrea.pic@...]
Sent: Wednesday, April 17, 2002 10:46 AM
To: futurebasic@...
Subject: Re: [FB] CODE RESOURCE



> 
> Maybe you need to try something like:
> 
> DIM RECORD Floaties
> DIM fX!
> DIM fY!
> DIM fRecPtr&
> DIM fScale!
> ..etc..
> DIM END RECORD.FloatiesSize
> DIM myFloaties.FloatiesSize
> 
> 
> ENTERPROC%(PtrToFloaties&)  '  From @myFloaties
> PRINT PtrToFloaties&.fX!
> PRINT PtrToFloaties&.fY!
> PRINT PtrToFloaties&.fScale!
> ..etc..
> EXITPROC%
> 
> Then you can have unlimted paramters of any type, and it will be faster.
> Any help?
YESSSSS!!!!

hallo jamin,
I tried code but problem is the same.

PRINT PtrToFloaties&.fX! --> An application only satement/function used in
non   application program......

bye,
Andrea Piccinini


--
To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>