Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14004

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Records Posted by magaman on 19 Apr 2005 at 5:34 PM
well it worked in tb 7.0 but it does not work in Turbo Pascal for Windows 1.5 which uses wincrt instead of crt.
so any ideas.:)
Report
Re: Records Posted by dolev9 on 26 Apr 2005 at 9:03 AM
: well it worked in tb 7.0 but it does not work in Turbo Pascal for Windows 1.5 which uses wincrt instead of crt.
: so any ideas.:)
:

i havent understand - what the connection between records and crt unit?

as i know wincrt and crt are pritty much the same (althought not totaly) just one is in tp and one in tpw because one is builed on dos and the other on windows.

dolev
Report
Re: Records Posted by magaman on 27 Apr 2005 at 2:34 AM
: : well it worked in tb 7.0 but it does not work in Turbo Pascal for Windows 1.5 which uses wincrt instead of crt.
: : so any ideas.:)
: :
:
: i havent understand - what the connection between records and crt unit?
:
: as i know wincrt and crt are pritty much the same (althought not totaly) just one is in tp and one in tpw because one is builed on dos and the other on windows.
:
: dolev
:
I wanted to know how to edit files in wincrt, i know how to do it in crt but not in wincrt. so i was kindly asking if someone would help me cause i really need this records thing for a game i'm making.



Report
Re: Records Posted by zibadian on 27 Apr 2005 at 6:43 AM
: : : well it worked in tb 7.0 but it does not work in Turbo Pascal for Windows 1.5 which uses wincrt instead of crt.
: : : so any ideas.:)
: : :
: :
: : i havent understand - what the connection between records and crt unit?
: :
: : as i know wincrt and crt are pritty much the same (althought not totaly) just one is in tp and one in tpw because one is builed on dos and the other on windows.
: :
: : dolev
: :
: I wanted to know how to edit files in wincrt, i know how to do it in crt but not in wincrt. so i was kindly asking if someone would help me cause i really need this records thing for a game i'm making.
:
:
You can use the BlockRead(), BlockWrite(), and untyped files to edit files containing records. These are part of the system unit, and should work in any form of Borland's Pascal. The main problem is that you as programmer are responsible for the format of the files, and must be very careful with the file I/O.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.