|
|
Cross-platform scripting differences: Sorted Lists
Added on 6/20/2003
|
Compatibilities:
|
This item has not yet been rated
|
What are the differences between Mac & Win when using sorted lists?
When using property lists, be wary of using the "_" prefix for property names in sorted lists ( maybe to force a property to the front of a sorted list?). Though the PC will sort it to the front, the Mac will not.. e.g.
SPList=[#propName1:88, #_propName1:99]
SPList.sort()
put SPList
Will result in:
on PC -> [#_propName1:99,#propName1:88]
on Mac -> [#propName1:88, #_propName1:99]
|
|