Is there a way to.....
Author |
Message |
monkeyman
|
Posted: Tue Jan 18, 2005 5:36 pm Post subject: Is there a way to..... |
|
|
Is there a way to keep track of a score or maybe things the user does; is there a way to keep track of them in a new window?
For example:
------------------------------------------------------------------
loop
Please enter 5 numbers (1) (2) (4) (6) (7)
WINDOW
end loop
is there a way i can open a new window (WINDOW) with these numbers in them as the user input is being looped
I.E
Window
-----------------------------------------------------------------
First try 1,2,3,4
sedond try 4, 3, 6, 9
third try 5,1,2,1
Thanks guys! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Delos
![](http://www.members.shaw.ca/rfolz/delos_avatar.gif)
|
Posted: Tue Jan 18, 2005 5:55 pm Post subject: (No subject) |
|
|
Window.Open() etc. Ever heard of F10?
Anyhow...from what you're saying, you'll need to create a Window stream (an int var), open the new window, and switch between windows depending on input/output.
Why go through all the trouble? Why not just imagine the window your have open as being divided into two parts...then you can use some locate()s to position the cursor where it should be depending on the case.
You might also need to grasp counters and accumulators...basically the same idea with different names. A counter is a var (numeric), initialized as soon as it is declared (to avoid problems later on) that has a set value added to each after a routine is performed. For example, in a loop, a counter may count the number of times the loop has run and a condition will specify an exit after the counter reaches a certain value.
And accumulator is exactly the same, except in theory - it's basically a running total of something or another. |
|
|
|
|
![](images/spacer.gif) |
|
|