have a strange problem. The attached source Testcode 1 does not work when calling the first time I start the program:
Code: Select all
aTmp := dc_progarray(cSource)
if !empty(aTmp)
dc_interpret(aTmp,aVar)
endif
Any idea what's going wrong ?
Regards
Rudolf
Testsource 1
Code: Select all
cTest := "test"
for x :=1 to 10
cTest += str(x)
next x
wmeld(cTest)
if len(cTest) # 0
wmeld("ok")
else
wmeld("not ok")
endif
Code: Select all
cTest := "test"
//for x :=1 to 10
// cTest += str(x)
//next x
wmeld(cTest)
//if len(cTest) # 0
// wmeld("ok")
//else
// wmeld("not ok")
//endif