- API -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
str1 = "Hello World"
Msg(str1)
- API Detail-
No preparation required
- SCRIPT -
function Msg(param)
Create any function (in this case, "Msg").
The value in parentheses is the input value (in this case, "param") of the Msg function created in step 1.
reaper.ShowConsoleMsg(tostring(param).."\n")
end
Output to the console -2 converts the input value (param) to a string (tostring) and inserts a newline ("\n")
str1 = "Hello World"
Save the string you want to output in the item variable (="") Enter the characters you want to output, and use item as a string variable.
If you want to enter Japanese, you can do so by copying and pasting what you have entered in Notepad or similar.
Msg(item)
Output the string stored in item to the console