On May 1, 2013, at 3:18 AM, "Edwards, Waverly" <Waverly.Edwards@...> wrote:
I am really running away from TestFillByReference2 because it is so verbose.
Am I overlooking a lighter weight syntax to accomplish what I want?
Either way is fine and I’m not aware of a less verbose method. Clearly, one is pointer dereferencing and the other uses BlockMoveData.
(1) FWIW: Apple deprecated BlockMove and most of Carbon Core ( and its relatives BlockMoveData ). See link:http://developer.apple.com/library/mac/#releasenotes/General/CarbonCoreDeprecations/
'memmove( &dest, &source, size );' ( memmove( @dest, @source, size ) in FB ) works well as a direct replacement for BlockMoveData.
(2) Reminder: FB offers 64-bit pointer dereferencing:
p.0@ dereferences a pointer to a 64-bit integer (like p.0& for 32 bit integers)
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
To access the list archives, go to: http://freegroups.net/groups/futurebasic/