Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

writing pascal data to a file

Status
Not open for further replies.

Periko

Programmer
Feb 24, 2003
134
BE
Hello,

I'm suffering a big problem. There is this file written in pascal with a known structure. I have to simulate this file from visual basic. Any idea if there are tools that I can use ?

Because, first problem, when I declare a variable of type boolean, and I set it to true, and i do a print #x, <this boolean variabele>, than i get in this file after debug the TRUE value (4 characters) in stead of the value 01 0A i can see when I debug the original file.

Anyone any idea plz... ??

Greetz...
Pedro...
 
At the end of the Print #x statement, do you have a semicolon? That will make the Print statement not add a new line when it writes data out.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top