Path: utzoo!attcan!utgpu!watmath!maytag!vlsi!watale!mims-iris.waterloo.edu!tom From: tom@mims-iris.waterloo.edu (Tom Haapanen) Newsgroups: comp.lang.modula2 Subject: Logitech 3.x longint bug warning Message-ID: <3298@watale.waterloo.edu> Date: 27 Sep 89 01:46:01 GMT Sender: daemon@watale.waterloo.edu Reply-To: tom@mims-iris.waterloo.edu (Tom Haapanen) Organization: WATMIMS Research Group, University of Waterloo Lines: 19 I was having real problems getting my numeric conversion routine working for integers; it was fine for cardinals. The routine converts a string to a longint and then does a range check before a conversion. But, beware: WriteLongInt(VAL(LONGINT, MAX(INTEGER)), 10); WriteLongInt(VAL(LONGINT, MIN(INTEGER)), 10); produces the output 32767 32768 Pretty sad ... so longints are STILL buggy in Logitech 3.x. Can anybody check if this is also true in the OS/2 version? \tom haapanen "now, you didn't really expect tom@mims-iris.waterloo.edu my views to have anything to do watmims research group with my employer's, did you?" university of waterloo