S
SGi
I wonder if anyone here knew Pascal before C++, perhaps you could help me
out. I'm converting some pascal code into C++, and I can't seem to
understand what AType(Ptr)[index] is trying to accomplish. Any helps would
be appreciated. Thanks.
type
AType = array[0..$FF] of byte;
var Ptr : Pointer;
Move(AType(Ptr)[index], dest_word, 2);
out. I'm converting some pascal code into C++, and I can't seem to
understand what AType(Ptr)[index] is trying to accomplish. Any helps would
be appreciated. Thanks.
type
AType = array[0..$FF] of byte;
var Ptr : Pointer;
Move(AType(Ptr)[index], dest_word, 2);