https://emily.shillest.net/ayaya/index.php?マニュアル/関数/LSO
LSO
LSO()
request
{
_i = foo
LSO
}
foo
{
"earth"
"moon"
"sun"
}
If "sun" is assigned to _i, the LSO is 2. This works for all cases where a choice is made regardless of the means. Therefore, it is meaningless unless the value is obtained immediately after the relevant process is completed.
request
{
{
"This is a "+ANY("pen", "pencil", "eraser")+"."
}
res = LSO
}
If you are trying to get the selection result of ANY, this code is wrong. An LSO in this position will get the selection result of {}. Therefore, res will always be 0. The following modification will make it work as intended.
request
{
{
"This is a "+ANY("pen", "pencil", "eraser") + "."
res = LSO
}
}
If an output determinant is present, LSO will work on all possible combinations.
request
{
{
"1"
"2"
"3"
--
"A"
"B"
}
_i = LSO
}
For example, the {} part in the above function outputs one of the following.
"1A" "2A" "3A" "1B" "2B" "3B"
The range of LSO values also matches this, from 0-5. The values match the list above.
|
Last modified on: 2008-04-08 (Tuesday) 22:29:55
|