software/MFrame/commonFunctions/commonFunctions.cpp
// short ReadDataWord(Ptr, long)
// gets a word from the handle, incremements the offset and returns the data
// from the Black Art of Mac Programming
short ReadDataWord(Ptr, long)
gets a word from the handle, incremements the offset and returns the data
from the Black Art of Mac Programming
short ReadDataWord ( Ptr long ) gets a word from the handle incremements the offset and returns the data from the Black Art of Mac Programming
short ReadDataWord(Handle data, int *currentOffset)
{	
	int offset;
	offset = *currentOffset;
	*currentOffset +=2;
	return (*((unsigned char *)(*data) + offset) << 8) + *((unsigned char *)(*data) + offset + 1) ;
}
short ReadDataWord ( Handle data , int * currentOffset ) { int offset ; offset = * currentOffset ; * currentOffset += 2 ; return ( * ( ( unsigned char * ) ( * data ) + offset ) << 8 ) + * ( ( unsigned char * ) ( * data ) + offset + 1 ) ; }
short ReadDataWord(Ptr, long)
gets a word from the handle, incremements the offset and returns the data
from the Black Art of Mac Programming
short ReadDataWord ( Ptr long ) gets a word from the handle incremements the offset and returns the data from the Black Art of Mac Programming