: 4582 | 108638 | 12353

@Random for lists 
New idea submissions, commenting and voting are no longer available on this site. Logins have also been disabled.
Use this IdeaSpace to post ideas about Domino Designer.

: 11
: 14
: 3
: Domino Designer
: @formula, lists
: Patrick Kwinten22013 21 Dec 2007
:
: / Email
if my text list look like:
 
textList:= "London" : "Stockholm" : "New York" :"Bagdad"
 
I would then like to be able to use
 
@Random(textList)



1) Paul Davies12381 (21 Dec 2007)
Should this function be required - it would be better as one of the custom parameters of @sort?

i.e. @Sort(textList;[Random])

I suppose that this could be useful to Reality TV companies that need to give out results 'in no particular order'. Not that I ever watch them of course :)

what would you use it for?
2) Richard Schwartz3723 (22 Dec 2007)
Ummm... What do you want this to do? Select a random element from the list? Put the list in random order?
3) Paul Davies12381 (23 Dec 2007)
re Richard: good point - I assumed a random order.

To achieve a random element is already possible anyway

textList:= "London" : "Stockholm" : "New York" :"Bagdad";
r := @integer(@random * @elements(textList));
textList[r]
4) Kenneth Axi1694 (10 Aug 2011)
@3: That will only give You ONE of the elements (random) - but as I understand what Patrick is aiming for is to give the WHOLE list in a random order - not only a single element.

I would prefer the keyword to be called [RandomizedOrder] or [RandomOrder] since it better describes what it actually do.










:
:




Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>


13
Two-week Calendar view
3
@Formula library
2
New Hide-When property
3
Activity Logging for Quickr
5
"follow-up complete" flag
15
Remake Resource Reservation template using XPage
17
Store IP Address / remote host data in Password Lockout documents
18
Checking Out-Of-Office status of others
0
Use more customization features in ND9 NotesMail
7
DocumentCollection.search(@formula)
23
Tool to show unreferenced design elements for easy cleaup
5
Bring sametime audio and video into the web browser using WebRTC
17
"Window Title" for views
17
QuickR application/widgets for Android/iPhone
21
Create Computed Text with the same text style as the current paragraph
9
@Function and LotusScript to "View..Customize This View" dialog
8
Extend the 'User detail' info of a database
17
Print of calendar in color
6
Shared Actions belong under Shared Elements
20
Facelift all web enabled templates with xPages
3
Please extend WebDAV to include calDAV & cardDAV support for contacts/calendar syncing
2
Skin-ing Notes Design elemens
14
Add some views into the "Views" section of the Notes 8.5 mailbox
17
Display first line of code instead of "<computed text>"
8
Show Design last modified date in the properties of the database in the design section in the tab Inheritance






IdeaJam developed by

Elguji Software Logo