diff --git a/lib/qdistrnd.g b/lib/qdistrnd.g index e7622bf..18b43a4 100644 --- a/lib/qdistrnd.g +++ b/lib/qdistrnd.g @@ -484,7 +484,7 @@ BindGlobal("ReadMTXE", # iCommentStart, iComment - range of line numbers for comment section infile := InputTextFile(StrPath); - input := ReadAll();; # read the file in + input := ReadAll(infile);; # read the file in CloseStream(infile); data := SplitString(input, "\n");; # separate into lines line := SplitString(data[1], " ");; # separate into records