: 4539 | 107926 | 12240

@Random for lists 
Use this IdeaSpace to post ideas about Domino Designer.

: 11
: 14
: 3
: Domino Designer
: @formula, lists
: Patrick Kwinten22008 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 Davies12351 (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 (21 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 Davies12351 (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 Axi1689 (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 >>


8
Automate synchronization of Notebook from Notes client into mail like contacts
0
Enable Message Tracking for SmartCloud
0
Make menu arrangement in SmartCloud more consistent and seamless
5
Allow more than Database Icons on the Workspace?
6
Synchronize Alarm Snooze Behavior in Notes to Work Like iNotes
0
All-Day reservation in the ressource database
2
Add Signature to new calendar entry
6
Have the "Folder" column of the "All Docs" view also available in iNotes
9
Add functionality in IdeaJam to Automatically create an SPR for the enhancement request with IBM
61
Please update Domino to fully support TLS (SSL v3.1)
25
IBM needs to implement some of the ideas on this site
0
Automatically create database redirect on servers on-site after mail file is moved to SmartCloud
8
Message Recall available to Administrators (SPR # Included)
19
Make Lotus Workflow compatible to clusters
21
Single File Expeditor Download
7
Dynamic favicon
29
Link Out-of-office-profile to Mail-file
1
4.2.11 WSDL documentation Element for WebServices
10
Save snoozed alarms
24
Lotus Workflow Viewer as Sidebar-Plugin
5
I wish evaluate() would throw errors (again)
31
Designer for mac
6
Allow predefined notifications to be sent automatically when a task is completed in an Activity






IdeaJam developed by

Elguji Software Logo