Getting a 102 runtime error on the pascal program. Any ideas of why?
Program test (Output, DataIn, DataOut);
var Num : Integer; DataIn, DataOut : Text; begin Reset(DataIn); Rewrite(DataOut); Read(DataIn, Num); Writeln(DataOut, Num);end.
You have not assigned the text files DataIn and DataOut to their file names. Use
Also, the link you provided does not work. Click on the SHARE button (3 to the right of the RUN button) and use the link there to share your project.
Read this article on file handling: