Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!nrl-cmf!cmcl2!brl-adm!adm!rbw@WILLIAMS.edu From: rbw@WILLIAMS.edu Newsgroups: comp.lang.pascal Subject: Re: HELP! Turbo Pascal v2.0 problem on Zeniths Message-ID: <12503@brl-adm.ARPA> Date: 18 Mar 88 20:46:14 GMT Sender: news@brl-adm.ARPA Lines: 17 Your code: > for Indx := 1 to 8 do > Title := Title + ElName[Indx]; *** error occurs on ; *** > writeln (Lst, 'xxx'); Why not replace this fragment with the equivalent Title:=Title + copy(Elname,1,8); or even (for the purists) Title:=concat(Title,copy(Elname,1,8)); This would put the potentially offending code back in the intrinsic function department, and that is assumed to be correct ;-). -Richard Ward rbw@cs.williams.edu Williams College, Williamstown, MA