Board Thread:Suggestions and Ideas/@comment-24191375-20140630181109/@comment-24191375-20140630223916

SquareFingers wrote: Right... the second program you show has a  instruction in program memory. The  removes everything from program memory, including the , and instead puts "READTEST" in program memory. In READTEST, PTC finds the instruction. What this does is, it tells PTC to scan the current program memory for a  instruction. There is none, so it gives an error.

On the other hand, consider the following programs, which demonstrate that data memory is not cleared:

'TEST1 TESTVAR=1 EXEC "DOTEST"

'TEST2 TESTVAR=2 EXEC "DOTEST"

'DOTEST PRINT TESTVAR

Executing TEST1 will print 1, executing TEST2 will print 2. does not alter the values of variables, which is what is meant by "it does not clear data memory".

It's very very doubtful PTC V3 will behave differently in this regard (with the  and   instructions), but it may have other data and file manipulation facilities. What I meant by  "Will this be possible" is the emulation. I should've elaborated.