
-----------------------------------
Jekate
Mon Sep 25, 2006 8:22 pm

'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.

-----------------------------------
Jekate
Mon Sep 25, 2006 8:49 pm


-----------------------------------
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?

var x1, x2, xc1, xc2, y1, y2, yc1, yc2, colchange, colchange2, colchange3 : int
var col, col2, col3 : real


colchange := 0
colchange2 := 2
colchange3 := 2
x1 := 0
x2 := maxx
xc1 := 0
xc2 := 2
y1 := 0
y2 := maxy
yc1 := 1
yc2 := 1
col := 0
col2 := 0
col3 := 0


loop
    if colchange2 = 2 and colchange3 = 2 then
        if colchange = 0 then
            col := col + 0.01
        elsif colchange = 1 then
            col := col - 0.01
        elsif colchange = 2 then
            col := col
        end if
        if col >= 1 and col < 2 then
            colchange := 1
        elsif col = 1 and col2 < 2 then
            colchange2 := 1
        elsif col2 = 1 and col3 < 2 then
            colchange3 := 1
        elsif col3 = 1 and col < 2 then
            colchange := 1
        elsif col = 1 and col2 < 2 then
            colchange2 := 1
        elsif col2 = 1 and col3 < 2 then
            colchange3 := 1
        elsif col3 