[futurebasic] PICT.filter errors

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2004 : Group Archive : Group : All Groups

From: DFast@...
Date: Wed, 26 May 2004 12:16:46 -0700
Mac OS 9.1
Using PG 4.8.6
Using FB^4 b5

Error: A Numeric or String value expected here...
in file WoF.proj:PICT.FLTR at line 95 in PICTReadFile
¥LONG IF FN SETFPOS(PBlk&¥) = _NoErr

Error: An Expression Expected here???
in file WoF.proj:PICT.FLTR at line 95 in PICTReadFile
¥LONG IF FN SETFPOS(PBlk&¥) = _NoErr

Error: Expected an end Ô)Õ here...
Example: Too many parameters, or mismatched ().
in file WoF.proj:PICT.FLTR at line 95 in PICTReadFile
¥LONG IF FN SETFPOS(PBlk&) ¥= _NoErr

/*
     read in PICT file
*/

LOCAL MODE
LOCAL FN PICTReadFile(PBlk&,Offset&,Where&,Bytes&)
'~'
DIM ioErr
% PBlk& + _ioPosMode   ,_fsFromStart
& PBlk& + _ioPosOffset ,Offset&
LONG IF FN SETFPOS(PBlk&) = _NoErr
& PBlk&+_ioReqCount,Bytes&
& PBlk&+_ioBuffer,Where&
ioErr = FN PBREAD(PBlk&)
END IF
END FN = ioErr


--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...