function mystr() local s = "MyStr\n" local r = 2 s = "MyStr2\n" return s end print(mystr())