Hi Vade
":1" as a sort token works for your structure.
|
Sort patch and Arrays (no keys).qtz
Description: application/quartzcomposer
Structures being both/either dictionaries and arrays in QC can have hi suck factor I think.
Best Alastair
The machine does not isolate man from the great problems of nature but plunges him more deeply into them. Antoine de Saint-Exupery
On 24/07/2010, at 5:13 AM, vade wrote: Hello
I'm trying to figure out if its possible to do a structure sort on a purely index only structure. Im aware of being able to order structures based on their key name (as per the help in the Library when having Structure Sort selected) - but is it possible to sort based on index alone (It would be much easier to keep things index only). ie:
Main Structure: Index 0 Structure: Index 0: (another structure) Index 1: A Number -1 Index 2: A Number 0.001
Index 1 Structure: Index 0: (another structure) Index 1: A Number 2 Index 2: A Number -0.3 Index 2 Structure: Index 0: (another structure) Index 1: A Number -2 Index 2: A Number : 0.5
Id like to sort the structures based on the numeric value of the number at index 1, say, so the structures would be ordered based on that number decreasing, or increasing. Any hints on syntax for Structure Sort? Ive experimented but could not get it. Thank you.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/qc.student.au%40gmail.com
This email sent to qc.student...@gmail.com
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com