Mon 11 Jan 2021
Wed 6 Jan 2021
REST plus RPC: the right data in the right format, and no more
Tue 5 Jan 2021
REST plus RPC: Do the demo backward
Welcome, Carolyn - You have helped already
Thu 25 Mar 2004, 11:44 AMTweet
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 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
Thanks, Carolyn, and welcome to the Domino blogosphere!
Copyright © 2004 Genii Software Ltd.
What has been said: