I am coding in Delphi Prism and I need to pause a loop with sleep timer, but sleep(x) doesn’t exist in Delphi prism. What function or procedure is there in Delphi prism to replace the sleep(x) procedure?
Thanks.
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.
Delphi Prism is using the .NET framework, so you should be able to use Thread.Sleep instead of sleep(x);