PDA

View Full Version : I need a "useless" if-then loop and do until or do while loop


singularity2006
11-15-2003, 12:45 AM
Aight, so our final project for Visual Basic 1 is the following:

Create an application with ....(bunch of stuff goes here)...

However, the application I developed so far, which is just a log to keep track of who checked out what equipment from the stock room, does not seem to have any place I can fit an if then loop as well as a do while or wait until loop. The instructor says we have to include it in the program, though it need not be related to the program at all. Can anyone recommend some really mundane visual use of the code such that I can fulfill the requirement for the program? Or if you can offer a "useful" but easy use of it, that'd be great too.

playmesumch00ns
11-17-2003, 09:33 AM
Well here's a really inefficient resource hog that could use those structures. Assuming you're writing an interface for people to check stuff out of a storeroom...


do
{
if ( input receieved )
{
...
process input...
...
}
else
{
...
draw flashy grpahics logo...
....
}
} while ( exit button not pressed )

CGTalk Moderation
01-16-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.