top of page

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

   reaper.ShowConsoleMsg(tostring(param).."\n")

end


retval,num = reaper.AZ_GetRandomNumInteger(1,100)

Msg(num)


retval,num = reaper.AZ_GetRandomNumInteger(1,100)

Msg(num)


retval,num = reaper.AZ_GetRandomNumInteger(1,100)

Msg(num)

- SCRIPT -

retval,randomNum = reaper.AZ_GetRandomNumInteger(low,high)

- API -

対応バージョン:

1.0.0

以降

NUMBER

reaper.AZ_GetRandomNumInteger

Outputs a random integer number

- API Detail-

▼Input value

low(number): The range of numbers (starting from)

high(number): The range of numbers (up to what point)


▼Output value

retval(boolean): Success or failure of API execution

rendom(number): Numbers output within a range

bottom of page