Category : Files from Magazines
Archive   : DDJJUL92.ZIP
Filename : STRUCPRG.ASC

 
Output of file : STRUCPRG.ASC contained in archive : DDJJUL92.ZIP
_STRUCTURED PROGRAMMING COLUMN_
by Jeff Duntemann

[Example 1: The stream registration record definition]


TStreamRec = RECORD
ObjType : Word; { You define a unique code for this field }
VMTLink : Word; { The offset of the type's VMT in the dataseg }
Load : Pointer; { The full address of the type's Load method }
Store : Pointer { The full address of the type's Store method }
END;






[Example 2: The registration record for TMortgage]

CONST
RMortgage : TStreamRec =
(ObjType : 1200;
VMTLink : Ofs(TypeOf(TMortgage)^);
Load : @TMortgage.Load;
Store : @TMortgage.Store);





  3 Responses to “Category : Files from Magazines
Archive   : DDJJUL92.ZIP
Filename : STRUCPRG.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/