Computer Science Canada 'Show Variables' |
Author: | Jekate [ Mon Sep 25, 2006 8:22 pm ] |
Post subject: | 'Show Variables' |
How do I get the 'Show Variables' button, able to be checked in 4.0.5? It would help so much right now because I can't figure out why my program isn't working and know what the variables values are would help out a bunch. |
Author: | Jekate [ Mon Sep 25, 2006 8:49 pm ] | ||
Post subject: | |||
Ok, I got the program working, but I'd still like to know how to get 'Show Variables' to work. Anyways, here is the program. I know, I probably used too much and there are probably ways that I could simplify it. But, I don't really know how. Any suggestions?
|
Author: | Silent Avenger [ Mon Sep 25, 2006 8:58 pm ] |
Post subject: | |
Well I usually don't do much turing programming and what I do is really noobish but couldn't you output the variables to the run form? or have it output to something like a message box? |
Author: | Jekate [ Mon Sep 25, 2006 9:14 pm ] |
Post subject: | |
Well, I remember from 3.x you could check a box that called up another window that had all the variables and their values. It was really useful, but I can't seem to get it so it is checkable in 4.0.5. I could output the variables in the run screen, but if the screen was black at any times I needed it the text wouldn't be readable. |
Author: | Silent Avenger [ Mon Sep 25, 2006 9:29 pm ] |
Post subject: | |
Well couldn't you temporarly change the background to white so you can see what the variables are or is the background controled by one of the variables you need to check? |
Author: | Clayton [ Tue Sep 26, 2006 7:14 am ] |
Post subject: | |
i dont think that checking a 'Show Variables' box is a viable opion in 4.0.5, so the best you can do is make your own, use a little intuitiveness and read up on windows and you could be on your way to solving your problem ![]() |
Author: | Cervantes [ Tue Sep 26, 2006 8:49 am ] | ||
Post subject: | |||
Using windows would be the way to go. However, I'll point this out: Jekate wrote: I could output the variables in the run screen, but if the screen was black at any times I needed it the text wouldn't be readable.
You can just change the colour of the outputted text.
That will output Hello world in white text on a black background. |
Author: | Jekate [ Tue Sep 26, 2006 4:09 pm ] |
Post subject: | |
Well, it looks like this: ![]() Now I can't seem to get it to be checkable, so I may have to create my own window. |
Author: | Jekate [ Sat Sep 30, 2006 8:43 am ] | ||
Post subject: | |||
Well I finished it, and here it is:
|
Author: | wtd [ Sun Oct 01, 2006 12:51 pm ] |
Post subject: | |
Ultimately the most helpful thing for you is going to be breaking your program down into a series of smaller sub-programs (functions/procedures) which accomplish smaller, more focused goals, and communicate with one another via parameters/arguments. That you are not instructed in the use of such tools at an earlier stage is unfortunate, but you should correct this yourself by researching functions and procedures, and how they can help you write more structured programs. Tony's tutorial on the subject: http://www.compsci.ca/v2/viewtopic.php?t=407 |