Board Logo
« Timer Warning for Pause »

Welcome Guest. Please Login or Register.
Sep 25th, 2017, 7:10pm


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Please use the forums Search feature before asking.
Please post code using the code box described in Format Your Messages.
This will keep indentation, separate it better form the message and prevent gibberish.
If the code is too long for one post or additional files are needed, upload a ZIP archive to the Just BASIC Files Archive Site.

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Timer Warning for Pause  (Read 338 times)
bplus
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 1157
xx Timer Warning for Pause
« Thread started on: Dec 5th, 2016, 10:22am »

This pause sub routine is invaluable for not overworking system but it needs to come with a warning about it's use, like dynamite it is disastrous if misused, one little slip and... you will get such long and boring error log!!!
Code:
sub pause mil
'================== Warning !!! =======================
'      MARK (or anyone who uses this handy) remember to
' timer 0
'      before close window and end program
'======================================================
    timer mil, [timesup]
    scan
    wait
[timesup]
    timer 0
end sub

 
User IP Logged

B+
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls