top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval, digitNum = reaper.AZ_FormatNumDigit(5,2)

Msg(digitNum)


retval, digitNum = reaper.AZ_FormatNumDigit(5,5)

Msg(digitNum)


retval, digitNum = reaper.AZ_FormatNumDigit(10,2)

Msg(digitNum)


retval, digitNum = reaper.AZ_FormatNumDigit(254,3)

Msg(digitNum)


- SCRIPT -

retval,num = reaper.AZ_FormatNumDigit(num,digitNum)

- API -

NUMBER

reaper.AZ_FormatNumDigit

Outputs the specified number of digits of a specified number as a string

- API Detail-

▼Input value

  • num (integer): Number

  • digitNum(integer): Number of digits 1/As is 2/01/02-10 3/001/002-100 4/0001/0002/0003--1000

  • color(integer) : Track color value

▼Output value

  • retval(boolean): Success or failure of API execution

  • name(string) : Track name

bottom of page