Reputation: 3278
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.
Upvotes: 0
Views: 324
Reputation: 564333
Delphi Prism is using the .NET framework, so you should be able to use Thread.Sleep instead of sleep(x);
Upvotes: 3