@ptrinc and poke

Jeremy Leach

Senior Member
With what I understand @ptrinc to do, I would have thought this would work (on 28X1 @ 16MHz) ..
<code><pre><font size=2 face='Courier'>
Ptr = 50
Poke 80,@ptrinc,@ptrinc
</font></pre></code>

But it locks up the Picaxe and execution stops.However a single @ptrinc executes...
<code><pre><font size=2 face='Courier'>
Ptr = 50
Poke 80,@ptrinc
</font></pre></code>

?


Edited by - jeremy leach on 20/05/2007 13:32:24
 

Jeremy Leach

Senior Member
Correction ....this has nothing to do with @ptrinc. This works..
<code><pre><font size=2 face='Courier'>
Poke 80,1
</font></pre></code>
This doesn't ..
<code><pre><font size=2 face='Courier'>
Poke 80,1,2
</font></pre></code>
 

Technical

Technical Support
Staff member
Looks like an issue with the beta version compiler, we will look into it. To workaround at present just use multiple peek/poke commands.
 

RexLan

Senior Member
Hummm ... this would take almost forever with the amount of data we are dealing with in this application. We are stalled at the moment because of this issue.
 
Top