Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12348

Re: Modifying array elements in a dictionary is ineffective?

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Modifying array elements in a dictionary is ineffective?
Date 2021-04-12 09:51 -0400
Organization A noiseless patient Spider
Message-ID <s51j9u$318$1@dont-email.me> (permalink)
References <s8ls3gg24yv1$.flt0oavzanef$.dlg@40tude.net> <s4vjfa$med$1@dont-email.me> <15vogrs6cvk0a.sjwmyinrcxia$.dlg@40tude.net>

Show all headers | View raw


"JJ" <jj4public@gmail.com> wrote

| My current use for it is to manage metadata of multiple files which can be
| number, string, or binary. Some of the binary metadata are data
| structure(s), so I need the ability to read/modify only part of the data,
| instead of the whole data. The final use is for file lookup and bulk file
| processing. i.e.:
|
| FilesArray
| -> FileInfoDictionary
|   -> FilePropertiesDictionary
|      -> Property
|      -> ...
|   -> FileMetadataDictionary
|      -> Metadata
|      -> ...
| -> ...

  I see. That is a tricky one. Have you considered an MSI file?
I use them for all kinds of things. Incredibly fast. They'll handle
string data, binary, and several numeric types. There are also
predefined types like Time/Date and GUID. Once you get the
process of loading them up and accessing them they're very
adaptable. It's sort of a stripped down SQL. MS calls it WQL,
for "Windows". The only hard part is the tedious syntax needed
for queries.

  I use one for looking up ZIP codes. Another to store old email
in a searchable system with an HTA GUI frontend. I use one
to store location data for IP4 and IP6 addresses, so that I
can resolve an IP to location. I find them very useful as simple,
lightweight databases for VBS. And usually I write some kind of
HTA front-end. 

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Modifying array elements in a dictionary is ineffective? JJ <jj4public@gmail.com> - 2021-04-10 07:46 +0700
  Re: Modifying array elements in a dictionary is ineffective? "Mayayana" <mayayana@invalid.nospam> - 2021-04-09 23:05 -0400
    Re: Modifying array elements in a dictionary is ineffective? JJ <jj4public@gmail.com> - 2021-04-10 17:08 +0700
      Re: Modifying array elements in a dictionary is ineffective? "Mayayana" <mayayana@invalid.nospam> - 2021-04-10 08:04 -0400
  Re: Modifying array elements in a dictionary is ineffective? "R.Wieser" <address@not.available> - 2021-04-10 10:39 +0200
  Re: Modifying array elements in a dictionary is ineffective? "Mayayana" <mayayana@invalid.nospam> - 2021-04-11 15:41 -0400
    Re: Modifying array elements in a dictionary is ineffective? JJ <jj4public@gmail.com> - 2021-04-12 09:13 +0700
      Re: Modifying array elements in a dictionary is ineffective? "Mayayana" <mayayana@invalid.nospam> - 2021-04-12 09:51 -0400
        Re: Modifying array elements in a dictionary is ineffective? JJ <jj4public@gmail.com> - 2021-04-13 00:08 +0700

csiph-web