Re: String or Numeric Variable?
- From: fajp@xxxxxxxxxxxxxxxxxxxx (Frank Adam)
- Date: Sun, 30 Oct 2005 13:43:25 +1100
On Sat, 29 Oct 2005 09:25:02 -0500, "ProfitMaxTrading.com"
<nospam@xxxxxxxxxx> wrote:
>What I believe you are referring to is Zero-Extension or Sign-Extension. A
>1-byte value such as &H7F thus becomes &H007F or &H0000007F, etc.?
>
>Then this begs another question.
>
>1. Why bother even having a BYTE type, or an INTEGER type?
>
>If we can simply substitute a LONG type for the other two, that would make
>typing that much easier.
>
Typing is part of programming. :)
>Can you think of examples where this would not be the case?
>
Many. Byte arrays are a wonderful thing.
VB Integers are...old.
I use Longs for just about anything i can.
--
Regards, Frank
.
- Follow-Ups:
- Re: String or Numeric Variable?
- From: Rick Rothstein [MVP - Visual Basic]
- Re: String or Numeric Variable?
- References:
- String or Numeric Variable?
- From: ProfitMaxTrading.com
- Re: String or Numeric Variable?
- From: ProfitMaxTrading.com
- Re: String or Numeric Variable?
- From: Howard Henry Schlunder
- Re: String or Numeric Variable?
- From: ProfitMaxTrading.com
- String or Numeric Variable?
- Prev by Date: Testing with Japanese XP
- Next by Date: Re: Labels
- Previous by thread: Re: String or Numeric Variable?
- Next by thread: Re: String or Numeric Variable?
- Index(es):
Relevant Pages
|