Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
Range Operator ;x — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Propeller 1
Range Operator ;x
Zetsu
Posts:
186
2012-10-24 17:27
edited 2012-10-24 18:41
in
Propeller 1
..........
Comments
kuroneko
Posts:
3,623
2012-10-24 17:31
edited 2012-10-24 17:31
You could use
byte/word/longfill
, e.g. assuming a
byte
array:
bytefill(@Values[20], 23, 10)
.
Ariba
Posts:
2,690
2012-10-24 18:41
edited 2012-10-24 18:41
Another way is to use loops instead of 10 seperate lines:
repeat i from 20 to 29 Values[i] := 0 repeat i from 20 to 29 Values[i] := 23
Andy
Sign In
or
Register
to comment.
Comments
Andy