: 4578 | 108526 | 12334

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

: 11
: 0
: 0
: 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 Davies12366 (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 Davies12366 (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 >>


6
Handle Java design element copies consistently
9
SameTime file based chat history viewer Notes
12
Desktop Policy Settings Doc needs settings for full text index on local mail replicas
17
provide admin tool to force-stop Amgr & Runonserver tasks
7
Option to keep sent e-mail without attachment(s)
7
Make the columns of the design element lists customizable
7
Better Administration Tools for IBM Connection
3
4.2.11 WSDL documentation Element for WebServices
12
Save snoozed alarms
14
When inserting a new row into a table: take current format of the neighbour rows
23
Add HTTP2 support to Domino
13
Add functionality in IdeaJam to Automatically create an SPR for the enhancement request with IBM
24
allow copying file path from database properties infobox
7
I wish evaluate() would throw errors (again)
-2
Specify a profile field as the formula in a view column
5
Add Cortana support under Windows 10
12
Allow more than Database Icons on the Workspace?
6
Remove attachements from delivery failure notification
11
use @Newline in @Failure text
7
Make a Better "Manage Views"
15
modify, copy, paste multiple ACL entries at once
13
Enable moving Notes workspace page
4
more options to program customized view setup & changes
2
Make the NotesAdministrationProcess.DeleteUser have the ID in Vault deleted/inactive
18
Publish a roadmap!






IdeaJam developed by

Elguji Software Logo