beautypg.com

Bitwise functions 26, Array functions 26, Sorted array functions 26 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 899

background image

C H A P T E R 2 6

Utility Functions

Summary of Functions and Methods

26-9

Bitwise Functions

26

Band(

a

,

b

)

Bor(

a

,

b

)

Bxor(

a

,

b

)

Bnot(

a

)

Array Functions

26

AddArraySlot (

array

,

value

)

Array(

size

,

initialValue

)

ArrayInsert(

array

,

element

,

position

)

ArrayMunger(

dstArray

,

dstStart

,

dstCount

,

srcArray

,

srcStart

,

srcCount

)

ArrayRemoveCount(

array

,

startIndex

,

count

)

InsertionSort(

array

,

test

,

key

)

Length (

array

)

LFetch(

array

,

item

,

start

,

test

,

key

)

LSearch(

array

,

item

,

start

,

test

,

key

)

NewWeakArray(

length

)

SetAdd (

array

,

value

,

uniqueOnly

)

SetContains(

array

,

item

)

SetDifference(

array1

,

array2

)

SetLength (

array

,

length

)

SetOverlaps(

array1

,

array2

)

SetRemove (

array

,

value

)

SetUnion(

array1

,

array2

,

uniqueFlag

)

Sort(

array

,

test

,

key

)

StableSort(

array

,

test

,

key

)

Sorted Array Functions

26

BDelete(

array

,

item

,

test

,

key

,

count

)

BDifference(

array1

,

array2

,

test

,

key

)

BFetch(

array

,

item

,

test

,

key

)

BFetchRight(

array

,

item

,

test

,

key

)

BFind(

array

,

item

,

test

,

key

)

BFindRight(

array

,

item

,

test

,

key

)

BInsert(

array

,

element

,

test

,

key

,

uniqueOnly

)

BInsertRight(

array

,

element

,

test

,

key

,

uniqueOnly

)

BIntersect(

array1

,

array2

,

test

,

key

,

uniqueOnly

)