ukadon.shillest.net は、数々の独立したMastodonサーバーのうちのひとつです。サーバーに登録してFediverseのコミュニティに加わってみませんか。
うかどんはデスクトップマスコットソフト「伺か」向け主体(専用とは言ってない)のMastodonサーバです。うどんでも新手のどんぶりでもありません。

サーバーの情報

151
人のアクティブユーザー

Am I misremembering how RAND works, or is the documentation on AYAYA wrong...? I thought if you put in RAND without an argument, it would generate numbers up to the integer limit :meow_thinking:

I tested it on a ghost with an older version of YAYA too, and it seems to be behaving the same there...

@Zichqec The manual was incorrect. My apologies.

If the parameter is omitted, the result is RAND(100).

@ponapalt Thank you! That's good to know, I must have mixed up RAND with something else, or I have a false memory :meow_thinking:

ぽな (C.Ponapalt)

@Zichqec

emily.shillest.net/ayaya/?cmd=

It seems that someone wrote wrong RAND document a long time ago.

I think I am not verifying this document enough, because the YAYA source code says it behave same as RAND(100) if parameter is omitted. Sorry.

emily.shillest.netマニュアル/関数/RAND の変更点 - AYAYA/03

@ponapalt It seems this information made it into my YAYA guide as well, apparently I didn't vet it properly :meow_thinking: I should have checked that too, so it's on me as well.

I'm still planning to go through and do some work on AYAYA when I have time, I'll try to test stuff and note any discrepancies that I find