I’ve been looking through the XRNX code repository just to get an idea of how people are scripting their tools. I know lua reasonably well, but have come across a type of syntax i’ve never seen before. As an example:
print((“This is an example which has a string in it: %s and a decimal: %d”):format(the_string, the decimal))
So, basically i understand it’s a way of formatting a string, but how does it differ from the standard string.format(), and is there any benefit of doing it this way?
Also is this only part of the Renoise lua implementation?