Article View: comp.os.ms-windows.programmer.misc
Article #1785Re: How to make a Long from ints in VB
From: Ian J Dickinson
Date: Fri, 18 Dec 1992 17:34
Date: Fri, 18 Dec 1992 17:34
18 lines
1451 bytes
1451 bytes
> There may be a better way, but I just did something like > new_long = hi_int * 65536 + lo_int. There is indeed. Look up functions CLng and CInt in the language reference manual. How did I find this out? By browsing the manual at random. Is there a reference to these functions in the programmer's guide? No, or at least not that I could find. Grrr. Let's hope the 2.0 documentation is better. > --George Yefchak Ian. |Ian Dickinson HP Labs Bristol (Knowledge Based Programming Dept) England| |Email: ijd@hplb.hpl.hp.com | Enough if something from our hands have power| | These opinions are mine, | To live and act and serve the future hour | | and not (necessarily) HP's | - Wordsworth |
Technical Details
Message-ID:
<IJD.92Dec18173414@idickins.hpl.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!otter.hpl.hp.com!hpltoad!idickins!ijdReferences:
<BzEp1J.I83@fsg.com> <1992Dec18.012559.4297@hplabsz.hpl.hp.com>Show Full Headers
Complete Article Headers
From: ijd@hplb.hpl.hp.com (Ian J Dickinson) Date: Fri, 18 Dec 1992 17:34:14 GMT Subject: Re: How to make a Long from ints in VB Message-ID: <IJD.92Dec18173414@idickins.hpl.hp.com> Organization: Hewlett-Packard Laboratories, Bristol, UK. Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!otter.hpl.hp.com!hpltoad!idickins!ijd Newsgroups: comp.os.ms-windows.programmer.misc References: <BzEp1J.I83@fsg.com> <1992Dec18.012559.4297@hplabsz.hpl.hp.com> Sender: news@hplb.hpl.hp.com (Usenet News Administrator) Lines: 19 In-Reply-To: yefchak@hplabsz.hpl.hp.com's message of Fri, 18 Dec 1992 01:25:59 GMT Nntp-Posting-Host: idickins.hpl.hp.com