Path: utzoo!utgpu!watmath!clyde!att!rutgers!mcnc!duke!romeo!gm From: gm@romeo.cs.duke.edu (Greg McGary) Newsgroups: comp.lang.pascal Subject: TP-5.0 can't do ``write(, );'' Keywords: Turbo Pascal, TeXware Message-ID: <12976@duke.cs.duke.edu> Date: 6 Jan 89 16:51:47 GMT Sender: news@duke.cs.duke.edu Lines: 19 Turbo-Pascal 5.0 has troubles compiling some TeXware containing these fragments: type byte = 0..255; var tfmfile: packed file of byte; { This won't compile: TP complains that it wants to see an identifier, not a constant } write(tfmfile, 255); { This is a successful workaround, but it's gross... } var xx: byte; xx := 255; write(tfmfile, xx); Thanks for all assistance! -- Greg McGary -- 4201 University Drive #102, Durham, NC 27707 (919) 490-6037 -- {decvax,hplabs,seismo,mcnc}!duke!gm -- gm@cs.duke.edu