this thread aims to collect self-test exercises from a beginner’s perspective on Lua scripting in Renoise

the exercises could be in the form of questions like…

…or in the form of simple instructions like:

or anything else that fits into the category of self-test exercises

first use the quote tags  
then write the challenge/question using [b] bold [/b] tags  
then use the spoiler tags  
[details="Click to view contents"]  
 the spoiler/answer goes here  
 if code, then use the code tags here again  
if you want to provide an example answer or comment to the self-test challenge  
also the "code" tags are useful (the box this text is put into)  

allright, here we go…