Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ogicse!pdxgate!eecs.cs.pdx.edu!bartonr From: bartonr@eecs.cs.pdx.edu (Robert L Barton) Newsgroups: comp.lang.modula2 Subject: INTEGER to LONGREAL Message-ID: <356@pdxgate.UUCP> Date: 17 Oct 90 05:02:47 GMT Sender: news@pdxgate.UUCP Reply-To: bartonr@eecs.cs.pdx.edu (Robert L Barton) Organization: Portland State University, Portland, OR Lines: 14 GRANGERG@VTVM1.BITNET (Greg Granger) writes: > In TopSpeed it would be something like this: > i: INTEGER; > x: LONGREAL; > .... > x:= VAL(LONGREAL, i); I would hope this doesn't work, since VAL() is meaningless for LONGREALs. And ISO M-2 may do away with LONGREALs anyway. -------------------------------------------------------------------------------- Robert L Barton bartonr@eecs.cs.pdx.edu Concert Concessions Corporation, a division of Winterland Productions