Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MyFunction( Str )
- if type( Str ) ~= "string" then return end
- write( Str )
- end
- MyFunction( "I am writing text to the screen!\n" )
- MyFunction( true )
- local function RandomNumber()
- local rand = math.random(0,10)
- return rand
- end
- local Num = RandomNumber()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement