TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: `tom Lake` tlake{at}twcny.R
date: 2005-02-22 22:50:00
subject: Re: The Hexadecimal System and VB

"Peter Nolan"  wrote in message
news:piGSd.48192$Z14.34698{at}news.indigo.ie...
> Hello,
>
> I'm trying to understand how VB handles the Hexadecimal system to be sure
> I
> know how to use the waveoutgetvolume and waveoutsetvolume API's.
> Hex(-1) returns FFFF but I know I should get FFFFFFFF.
> However Hex(-1#) returns FFFFFFFF.
> What is the # symbol in this context and what does it do?

The # usually means double precision (8 bytes) whereas without any suffix it
should be single precision (4 bytes).  I don't know why you're getting that
number of bytes though unless it has to do with signed vs. unsigned numbers.

Tom Lake




--- UseNet To RIME Gateway {at} 2/22/05 9:50:27 PM ---
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270 5030/786
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.