I get this error:
error:12 line:20 Variable cl.parent not declared
It did work with the old compiler but not with the new one.
bug with object in clock.bas
bug with object in clock.bas
Please have patience,
I discover a major problem with the include , uses command which affect the type declaration as well.
If you notice it you don`t have to declare the subs and function before you can use them, the could be anywhere in the program.
Only the include and uses command are declared if the compiler met them so i am changing that.
If I tested the new compiler I will put it at the forum.
best regards marco
I discover a major problem with the include , uses command which affect the type declaration as well.
If you notice it you don`t have to declare the subs and function before you can use them, the could be anywhere in the program.
Only the include and uses command are declared if the compiler met them so i am changing that.
If I tested the new compiler I will put it at the forum.
best regards marco
bug with object in clock.bas
And it is interessant, with my altering in program work the new compiler fine...
PaPi
[code]
original code:
.
.
.
object myform as form
object cl as clock
end object
end object
dim t as timer
t.Interval=1000
t.ontimer=cl.adjust
.
.
.
my code:
.
.
.
dim myform as form
dim cl as clock
cl.parent=myform
dim t as timer
t.Interval=1000
t.ontimer=cl.adjust
.
.
.
[/code]
PaPi
[code]
original code:
.
.
.
object myform as form
object cl as clock
end object
end object
dim t as timer
t.Interval=1000
t.ontimer=cl.adjust
.
.
.
my code:
.
.
.
dim myform as form
dim cl as clock
cl.parent=myform
dim t as timer
t.Interval=1000
t.ontimer=cl.adjust
.
.
.
[/code]