I was looking for a way to pause my program to allow the user to read before it closes but the function (os.sleep(timeSeconds)) doesn’t exist apparently. Anyone know a workaround?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could make use of
os.clock()andos.time(). Ex:n is in seconds. Feel free to make the
os.time()version.