Hello, I have the following variable that I need to initialize:
yyinput: Text; I searched, but I can't find anything that explains what this is, or how to initialize it. Is the Text type the same as TextFile? I would like to set this variables to the contents of a file, so I tryed the following, but it crashes with runtime error 123 ( 'No medium found' ) and no error message. AssignFile(lexlib.yyinput, AFileName); Reset(lexlib.yyinput) ; fmlscan.yylex(); CloseFile(lexlib.yyinput) ; thanks, -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal