Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Wed 18 Sep 2019

Perils of PDF 5: Data Confusion



Mon 16 Sep 2019

About that email in Notes



Mon 9 Sep 2019

Perils of PDF 4: Missing and obscured data


November, 2019
SMTWTFS
     01 02
03 04 05 06 07 08 09
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Search the weblog





























Genii Weblog

Welcome, Carolyn - You have helped already

Thu 25 Mar 2004, 11:44 AM



by Ben Langhinrichs
Fellow Penumbra Group member Carolyn Kraut has started a blog, and the very first post I read helped me out.  Carolyn described in her post how, in ND6 and above, when you want to get the server or filepath from @DbName, you can now access the array elements directly, so @DbName[2] replaces @Substring(@DbName; -1).  Her mentioning this got me to thinking about the direct accessing of array elements, and I realized that my Interesting Challenge Redux post from a few days back could be simplified using this approach.  The code I had was:

but using the direct access to the array elements in the Titles_Old field would save one line and greatly simplify another, thus:

The temporary variable "titles" is no longer needed, and the messy

@Subset(@Subset(titles; n); -1)

is replaced by a tidy and more easily read

Titles_Old[n]

Thanks, Carolyn, and welcome to the Domino blogosphere!

Copyright © 2004 Genii Software Ltd.

What has been said:

No documents found