Re: Sequence items to a single number ? How to achieve ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Here's one way to do it

sequence pbin, bin = {{1, 0, 1}, {1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1}} 
                                                     
pbin = bin + 48   
                                                                                                                
for i = 1 to 2 do                                                                                                                
    printf(1,"%s\n",{pbin[i]})                                                                                                   
end for
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu