2
I have a code in Pascal. Here’s the thing:
Program Pzim ;
   var
     i:integer;
     vect:array[1..1001] of integer;
Begin
     i:=1;
     for i:= 1 to 999 do
     vect[i]:=i+1;
     for i:= 1 to 999 do
     writeln (vect[i]);
   readln;
End.
The code in Pascalzim prints on the screen a sequence of numbers. I wanted to save in text file what is generated by the code.
would be possible using the same pascal, or who knows otherwise, using the Notepad++ for example?