Seeing as you have the executable, I'd assume you are still able to at least create datatable files. As such, anything you can't understand from a few glances at existing files, try using the program to create a few that are essentially the same, with 1 very minor difference at a time. Then...
As I said before, I'm using the latest version of Dev-Pascal as my IDE, which comes with FreePascal as the compiler.
However, it appears that I misread the documentation and tutorials when learning Pascal and assumed that an integer was 32 bits. Now that I look over it again, it appears that an...
I made sure to get as much information as possible on reading from files before attempting this project. It is an untyped file.
var
bs,p1,p2 : string;
bi : integer;
pos : longint;
f : file;
...
assign(f,p1);
reset(f,1);
While most of the file does consist of 4-byte integers, there are...
I know about nesting loops and stuff like that - i'm always careful of that. That's why I have LL, for the occasional time when I do nest a loop. In this case, as well as most other times, the loop is fairly isolated. I even have the entirety of the loop noted as a specific section (using a...
Hey, I seem to run into a problem with variables every now and then. Generally, when I run a loop and read from a file, I *might* get a problem.
The snippit of code I've narrowed it down to is below:
for l := 1 to 9 do
begin
write(l,' ');
blockread(f,bi,4); //bug here
end;
whereas l and bi...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.