Array and sortArray

Having trouble using an XCmd or XFcn? Post your questions here.

Array and sortArray

Postby sctell » Wed Feb 02, 2011 10:51 am

Hi,

Does anyone have any documentation for the use of these externals please.
sctell
 
Posts: 1142
Joined: Sun Jul 06, 2008 10:41 am

Re: Array and sortArray

Postby Scott » Wed Feb 02, 2011 12:54 pm

The state of documentation for these is incomplete at best, but I have posted what I have at:

viewtopic.php?f=39&t=1286
User avatar
Scott
Site Admin
 
Posts: 1243
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: Array and sortArray

Postby sctell » Wed Feb 02, 2011 1:00 pm

Thanks
sctell
 
Posts: 1142
Joined: Sun Jul 06, 2008 10:41 am

Re: Array and sortArray

Postby sandrobilbeisi » Fri Jan 12, 2018 6:09 am

Where are these externals distributed ?

I have found the only working copies of these externals in a ListMaster demo project

who is maintaining / has the latest source code ?


:evil: also , I would like to alert that the forum is NOT allowing any file uploads ( The extension .. zip, sitx sc45 is not allowed.
sandrobilbeisi
 
Posts: 35
Joined: Mon Dec 04, 2017 1:11 am

Re: Array and sortArray

Postby codegreen » Mon Jan 15, 2018 9:41 am

who is maintaining / has the latest source code ?

Um, that would be me I suppose.

Why do you ask?

-Mark
codegreen
 
Posts: 1545
Joined: Mon Jul 14, 2008 11:03 pm

Re: Array and sortArray

Postby sandrobilbeisi » Mon Jan 15, 2018 10:48 am

I ask because I want to know if I can rely on that extra functionality or not
sandrobilbeisi
 
Posts: 35
Joined: Mon Dec 04, 2017 1:11 am

Re: Array and sortArray

Postby codegreen » Mon Jan 15, 2018 12:32 pm

The Array and SortArray XFcns are used in the 4.x RTE, so they're unlikely to 'go away' until Cocoa obsoletes Carbon externals altogether.

Just as with SC <4.8 though unfortunately Apple has already broken non-US English date and numerical sorting(/summing) by quietly cutting out their localization underpinnings. However since they're not documented and we don't use those features in the RTE, there hasn't exactly been a clamor for them to be updated...

The replacement date/number <--> string APIs used in SC 4.8 are Cocoa-based, so as usual there could be problems with calling them directly in externals (because Cocoa code doesn't expect to be unloaded, as externals are when their host project closes or they're removed/updated).

Calling back into SC's own internal Carbon shims for these would sidestep that problem, but since none of those 4.8 IT extensions are documented yet I'm the only one who can do it.

So basically if you stick to the functionality used in the RTE, you're probably safe. If you require the broken parts, then you should file a feature request ASAP.

Does that help any?

-Mark
codegreen
 
Posts: 1545
Joined: Mon Jul 14, 2008 11:03 pm

Re: Array and sortArray

Postby sandrobilbeisi » Mon Jan 15, 2018 1:23 pm

yes, thanks

I'm actually interested in using them as they appear in the ListMaster demo
sandrobilbeisi
 
Posts: 35
Joined: Mon Dec 04, 2017 1:11 am


Return to Using Externals

Who is online

Users browsing this forum: No registered users and 1 guest