Sim 5.1.5 problem with Sertxd

gtslabs

Member
I am not sure why this is not working but in version 5.1.5 of the simulator it locks up on the Sertxd line looping indefinately with no output.

Perhaps I am doing something wrong. IF I comment out W3=W3*2 then it works.

<code><pre><font size=2 face='Courier'>
for W1 = 2 to 65535
W3=50000/W1
W3=W3*2
sertxd(#W3,13,10)
Next
</font></pre></code>
 

Technical

Technical Support
Staff member
There is a overflow bug in the simulator which we will fix in next release. At present the largest value you can use in the for..to.. line is 32767 (not 65535)
 
Top