beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 893

background image

C H A P T E R 2 6

Utility Functions

Compatibility

26-3

New String Functions

26

The following new string functions have been added.

CharPos

LatitudeToString

LongitudeToString

StrExactCompare

StrFilled

(existed in 1.0 but now documented)

StrTokenize

StyledStrTruncate

SubstituteChars

New Array Functions

26

The following new array functions have been added.

ArrayInsert

InsertionSort

LFetch

LSearch

NewWeakArray

StableSort

New Sorted Array Functions

26

The following new functions have been added that operate on sorted arrays. These
functions are based on binary search algorithms, hence the “B” prefix to the
function names.

BDelete

BDifference

BFetch

BFetchRight

BFind

BFindRight

BInsert

BInsertRight

BIntersect

BMerge

BSearchLeft

BSearchRight