TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Martin Trump
date: 2004-12-05 12:31:00
subject: Re: REQ: Declaring variab

In message , Stefanie
 writes
>file they have the same lenght). Is it possible to use the lenght i obtain from
>reading that other file to
>declare my variable or are there
>other possibilities.

Off the top of my head. You can define a dynamic array within a user
defined type:-

Type mytype
  ....
  mystring()
  ...
End Type

You can then set the size of mytype.mystring using:-

Redim mytype.mystring (Len(inputstring))

However, you may be storing up trouble if you want to use random access
on the resulting file. Where do you seek to for a new record?
HTH.

Regards

-- 
Martin Trump
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 12/5/04 12:31:03 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™.