[futurebasic] Re: [FB] FB^3 Example Won't Compile

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: RMMerrill@...
Date: Wed, 13 Oct 1999 19:47:32 EDT

FutureBASIC Mail List wrote:

>>>>I need to use a routine to print all my edit fields to a printer. This
>>>>has worked in FBII, but I am unable to print anything in FN^3. I don't
>>>>know what I am doing wrong.
>>>>
>>>>First off, I think I need the file "Print All Edit Flds.Bas" which is in
>>>>the examples folder on the disk, but it will not compile as there is a
>>>>problem with line 97 which I don't understand:
>>>>
>>>>ClipRect;8 = [CntlH]+_ContrlRect
>>>>
>>>>Sure would like to get back to printed output. :-)
>>>>
>>>>TIA,
>>>>
>>>>        -=  Bob  (-:
>>>>
>>>>
>>>>--
>>>>To unsubscribe, send ANY message to 
<futurebasic-unsubscribe@...>
>>>
>>>You did not say what the error was
>>>
>>Oops...:
>>
>>Error: Number of Parameters expected = 1
>>In file FamTree.pi:PRINT ALL EDIT FLDS.BAS at line 97 in PRINTFBDOC,
>>Code=597556
>>oClipRecto;8 = [CntlH]+_ContrlRect
>>
>>
>How did you dimension ClipRect?
>
>
>
>Best,
>
>-STAZ  ~)~

Please understand that this routine is from the disc FB^3 0 and is in the 
Examples Folder.

I did not dimension ClipRect, you folks did, on line 21 of Print All Edit 
Flds.Bas as follows:

            DIM ClipRect as rect

I really do not know the full significance of this, all I know is that 
the routine will not compile as originally noted above, and I do not know 
why.
The routine is on the disc in the folder FutureBasic^3, Examples, 
Handbook Examples,Printer Output folder, Print All Edit Flds.Bas.

        -=  Bob  (-: