Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!vms.macc.wisc.edu From: miser@vms.macc.wisc.edu (Dan Miser) Newsgroups: comp.sys.mac.programmer Subject: String functions in Pascal Message-ID: <1862@dogie.macc.wisc.edu> Date: 12 Jun 89 20:47:27 GMT Sender: news@dogie.macc.wisc.edu Distribution: usa Organization: University of Wisconsin Academic Computing Center Lines: 20 Hello net. I've read this group for a long time and have learned much from it. Now I have a question that maybye you could help with. I'm writing a program that concatanates files. However, I cannot write and read to the disk in 512 bytes because I need to use readln and writeln (redirected, of course). I need these because I have to compare string lengths, and check on certain characters inside the string. But, as you guessed this is too slow. I've thought of typecasting, but this doesn't want to work. So, any ideas how I can write in big blocks while still being able to compare string like functions to the file? Thanks in advance. ****************************************************************** ** Dan Miser Phone: (608) 262-0282 ** ** 1210 W. Dayton Madison, WI 53706 ** ** Internet: miser@vms3.macc.wisc.edu Bitnet: miser@wiscmacc ** ******************************************************************