declaring contiguous variables
agfa
Posts: 295
I have a question about the way a VAR is declared in MCP3202.spin posted by Ken Gracey.
http://forums.parallax.com/showthread.php?p=842148
The VAR "ins" is declared like this.·
·I thought it would have to be declared like this to reserve memory for the 4 longs.
·I've attached the code in question.
agfa
http://forums.parallax.com/showthread.php?p=842148
The VAR "ins" is declared like this.·
long ins '4 contiguous longs (2 words + 1 long + 2 longs)
·I thought it would have to be declared like this to reserve memory for the 4 longs.
long ins[noparse][[/noparse]4] '4 contiguous longs (2 words + 1 long + 2 longs)
·I've attached the code in question.
agfa
spin
17K
Comments
John Abshier
Thanks for taking the time.
agfa