Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Thu 29 Apr 2021

Archive a Notes DB off-line w/ Field data and active content



Tue 20 Apr 2021

Archive a Notes DB off-line in 4 easy steps



Thu 18 Mar 2021

Preservation of all the tiny details


May, 2021
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 31

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:
Inline JPEG image
but using the direct access to the array elements in the Titles_Old field would save one line and greatly simplify another, thus:
Inline JPEG image
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