data arrays and t.v.
mosquito56
Posts: 387
Given the following code
repeat index from 0 to 5
·· r:=byte[noparse][[/noparse]@value][noparse][[/noparse]index]
· dec(r)
data
·value byte 0,1,2,3,4,5
Works fine with the propterminal but when put into the t.v. object it does really strange things.
Returns· 0022224444.
The dec subroutine of both are identical.· Any ideas why this doesn't work?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·······
······· "What do you mean, it doesn't have any tubes?"
······· "No such thing as a dumb question" unless it's on the internet
········
repeat index from 0 to 5
·· r:=byte[noparse][[/noparse]@value][noparse][[/noparse]index]
· dec(r)
data
·value byte 0,1,2,3,4,5
Works fine with the propterminal but when put into the t.v. object it does really strange things.
Returns· 0022224444.
The dec subroutine of both are identical.· Any ideas why this doesn't work?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·······
······· "What do you mean, it doesn't have any tubes?"
······· "No such thing as a dumb question" unless it's on the internet
········
Comments
Also if I switch to TV Terminal I get the same expected output.
Can you paste your exact code?
Rick
I loaded doremi from the pe kits counters lab and tried to print the values, no luck.
I put the·data first before the t.v. info, last after the t.v. info. No luck
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·······
······· "What do you mean, it doesn't have any tubes?"
······· "No such thing as a dumb question" unless it's on the internet
········
Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·······
······· "What do you mean, it doesn't have any tubes?"
······· "No such thing as a dumb question" unless it's on the internet
········