This is where you talk about the NXJ software itself, installation issues, and programming talk.
Moderators: 99jonathan, roger, imaqine
I am writing a blackjack program and right at the end of my program, I want to display a string on the screen for a number of seconds before the program ends.
I can do it using a while loop and the 'enter' button but would like it to do it automatically. Does it involve a wait() function?
- Posts: 30
- Joined: Thu Nov 24, 2011 10:07 am
- leJOS Team Member
- Posts: 1350
- Joined: Thu Oct 30, 2008 4:54 pm
- Code: Select all
to pause the code for 1 second; it does does not need a try.. catch block.
- Posts: 350
- Joined: Fri Jun 01, 2007 4:31 am
- Location: Berkeley, CA
Return to NXJ Software
Who is online
Users browsing this forum: Baidu [Spider], ljdedseyrooov and 2 guests