Re: Phix:Sort Columns Not Working Like Expected

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...
 
sequence 
table = { 
    {3, "cat"}, 
    {5, "chipmunk"}, 
    {5, "zebu"}, 
    {9, "geese"}, 
    {1, "dog"}, 
    $} 
 
-- first column 
? sort_columns( table, {1} ) 

So, my first error is expecting it to sort a different sequence format.

I had the table columns in separate rows:

sequence 
table = { 
    {3,5,5,9,1}, 
    {"cat","chipmunk","zebu","geese","dog"} 
    } 

So, I was using it wrong.

Now, let's see what Pete says! grin

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

Search



Quick Links

User menu

Not signed in.

Misc Menu