- API -
dofile(reaper.AZ_GetLuaInitPath())
str = "AZSTOKE"
if str ~= nil then
Msg("test1:"..str)
end
if str == "AZSTOKE" then
Msg("test2:"..str)
end
if str == "azstoke" then
Msg("test3:"..str)
end
- API Detail-
No preparation required
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
Loading the initial settings for the Lua version of RIGDOCKS
str = "AZSTOKE"
Add the string "AZSTOKE" to the str variable
if str ~= nil then
Msg("test1:"..str)
end
if statement Check whether the str variable has contents
If True, the contents of str are displayed on the console using the Msg function.
if str == "AZSTOKE" then
Msg("test2:"..str)
end
if statement Check if str variable matches "AZSTOKE"
If True, the contents of str are displayed on the console using the Msg function.
if str == "azstoke" then
Msg("test3:"..str)
end
if statement Check if str variable matches "azstoke"
If True, the contents of str are displayed on the console using the Msg function.