: : : 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.