cravenhaven
Senior Member
Is there a directive or 'debug' action that would only invoke code when running in the simulator.
The reason is for i/o operations that cant be simulated (can they?) I could insert code or values to simulate an input while testing the program.
eg
Actual code:
OWIN OW_Net,ownoreset,(Time1_1,Time1_2,Time2_1,Time2_2)
What I would like
OWIN OW_Net,ownoreset,(Time1_1,Time1_2,Time2_1,Time2_2)
[PE mode only] Time1_1=$xxxx:Time1_2=$xxxx .....
.
.
.
Currently I put in a line to create values but have to remember to comment it out before downloading (fraught with danger with my memory)
thanks
Allan
The reason is for i/o operations that cant be simulated (can they?) I could insert code or values to simulate an input while testing the program.
eg
Actual code:
OWIN OW_Net,ownoreset,(Time1_1,Time1_2,Time2_1,Time2_2)
What I would like
OWIN OW_Net,ownoreset,(Time1_1,Time1_2,Time2_1,Time2_2)
[PE mode only] Time1_1=$xxxx:Time1_2=$xxxx .....
.
.
.
Currently I put in a line to create values but have to remember to comment it out before downloading (fraught with danger with my memory)
thanks
Allan