🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: a.a.mis.admin
Article #33

Re: Type identifiers use memory?

#33
From: chris judge
Date: Fri, 13 Jun 1997 00:00
20 lines
1024 bytes
Robert Standefer wrote:
> 
> Do variable type identifiers (such as $ for string, % for integer) use more
> memory?

No:

  Dim T1$
  Dim T2 as string
  Dim T3 as Variant

  T1$ = "Test"
  T2 = "Test"
  T3 = "Test"

In this example, T1$ and T2 use exactly the same amount of memory.  T3,
however uses something like 12 extra bytes.

-chris
Technical Details
Message-ID: <33A1A99C.505B@formfill.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bc7761$4328ed60$0f66ad0a@l6024588>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9608,e3e0b3477ba3f22a
X-Google-Attributes: gidf9608,public
X-Google-Thread: 110e3b,e3e0b3477ba3f22a
X-Google-Attributes: gid110e3b,public
X-Google-Thread: ffc75,e3e0b3477ba3f22a
X-Google-Attributes: gidffc75,public
From: chris judge <chris@formfill.com>
Subject: Re: Type identifiers use memory?
Date: 1997/06/13
Message-ID: <33A1A99C.505B@formfill.com>
X-Deja-AN: 248205162
References: <01bc7761$4328ed60$0f66ad0a@l6024588>
To: fractal@comland.com
Organization: FormFill, Inc.
Reply-To: chris@formfill.com
Newsgroups: a.a.mis.admin,comp.lang.basic.visual.misc,microsoft.public.vb.syntax