I know this is probably simple but it's driving me
up a wall.
I'm trying to pass a variable to a procedure and
I've tried to do it many different ways and I'm
getting a type mismatch error:
LongRecTyp =
Record
Rec1 : AsciiZ;
Rec2 : AsciiZ;
End;
.
.
VAR
LongRec : LongRecTyp;
.
.
Proc1(IDXFile, LongRec, Parm1, Parm2);
.
.
Procedure Proc1(VAR IDXFile : OtherFileTyp; VAR
LongRec : LongRecTyp; Parm1 : CHAR; Parm2 :
Integer)
The procedure Proc1 is in another unit. The
variable is loaded correctly with 2048 bytes per
record. When I previously used LongRec as a
single Asciiz string of 2048 bytes it worked
perfectly, when I changed it to acomodate two long
strings this started happening.
I know i'm probably leaving out something so if
you need more info let me know I'll update right
away.
Thanks in advance......
FVM2
http://www.*-*-*.com/