Article View: alt.lang.basic
Article #165Math Functions with Long Integers
From: ST21519
Date: Tue, 25 Aug 1992 19:17
Date: Tue, 25 Aug 1992 19:17
15 lines
879 bytes
879 bytes
I would like to use Long Integers in a program, but try as I may I cannot perform any math operations above the 32767 limit of Integers. Here is an example: ZPhooey& = 9 * 3600 Print "ZPhooey="; ZPhooey& This outputs "ZPhooey=32400". BUT changing the multiplication from 9 * 3600 to 10 * 3600 gives me an Overflow error, so there must be something special to perform math with Long Integers? Integers? Thanks in advance for any assistance!
Technical Details
Message-ID:
<1684EBAF5.ST21519@VM.CC.LATECH.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!newshost.latech.edu!VM.CC.LATECH.EDU!ST21519Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!newshost.latech.edu!VM.CC.LATECH.EDU!ST21519 From: ST21519@VM.CC.LATECH.EDU Subject: Math Functions with Long Integers Message-ID: <1684EBAF5.ST21519@VM.CC.LATECH.EDU> Sender: usenet@engr.latech.edu Nntp-Posting-Host: vm.cc.latech.edu Organization: LOUISIANA TECH UNIVERSITY Date: Tue, 25 Aug 92 13:17:41 CST Lines: 15