Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:functions:urnputaway [13.01.2015 17:09] – alexander.ritter | en:create:functions:urnputaway [13.01.2015 17:10] – alexander.ritter |
---|
''void **urnPutAway**([string //questionID//])'' | ''void **urnPutAway**([string //questionID//])'' |
| |
The function ''urnPutAway()'' is only relevant when previously in the questionnaire the function ''[[:en:create:functions:urndraw|urnDraw()]]'' with the value '''man''' for the third parameter (//store//) was called up. In this case, determine when the combination should be stored using ''urnPutAway()''. | The function ''urnPutAway()'' is only relevant when the function ''[[:en:create:functions:urndraw|urnDraw()]]'' with the value '''man''' for the third parameter (//store//) was called up previously in the questionnaire . In this case, determine when the combination should be stored using ''urnPutAway()''. |
| |
* //questionID//\\ ID of the question with the type "internal variables", as it was specified in ''urnDraw()''. | * //questionID//\\ ID of the question with the type "internal variables", as specified in ''urnDraw()''. |
| |
**Note:** Until the ballot has been devalued, other respondents can draw the same ballot. This can cause uneven distributions, which will be corrected automatically however. | **Note:** Until the ballot has been devalued, other respondents can draw the same ballot. This can cause uneven distributions, which will be corrected automatically however. |
| |
**Tip:** Leave out ''urnPutAway()'', in order to implement a random draw with replacement, if you want to draw a combination (i.e. not just a number). Otherwise, use ''[[:en:create:functions:random|random()]]''. | **Tip:** Leave out ''urnPutAway()'', in order to implement a random draw with replacement, if you want to draw a combination (i.e. not just a number). Otherwise, use ''[[:en:create:functions:random|random()]]''. |