- Type : function
- Return value : nil
- Overview : print formatted string in the screen
- See also :
Examples
putsf('Hello luasopia')
putsf('x=%d', x)
putsf('radius = %.2f', r) -- show r to two decimal places
local strs = {'Salesio', 'Park'}
putsf('first name = %s', strs[1])
putsf('last name = %s', strs[2])
댓글 없음:
댓글 쓰기