I am having trouble accessing a variable from one subroutine
to another. It looks like this:
Dim m as shared integer
Time:
t=t+1
m=t
return
Print:
locate 10,20
print m"Minutes."
However all it prints is a zero. I have also tried setting m
to 100 and it still prints zero. What am I doing wrong?
to another. It looks like this:
Dim m as shared integer
Time:
t=t+1
m=t
return
Print:
locate 10,20
print m"Minutes."
However all it prints is a zero. I have also tried setting m
to 100 and it still prints zero. What am I doing wrong?
Comment