Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

   In the source format, the 'Inj' type injection points are used in the same
   way as the block type.

   The realisation of a new 'Inj' type injection point from the Template
   comes about in the following way:

     .inj <inj_id> [descriptive text]

   Where '.inj' is the command and <inj_id> the identifier. The
   descriptive text is optional, but if inserted will be shown on the line of
   the corresponding source.

     . Template:

     .inj DEL0 delete record

     . Generated:

     * #COD OIDEL0 * #END delete record

   The different codification on the generated code allows the programmer to
   immediately identify an 'Inj' point in respect to a 'block' point. The
   second character used is 'I' while the others have, alternating
   between themselves, 'B' (Before) and 'A' (After).

Example:

     . Template:

     SETCOLOR( "W/B" )
     CLS
     .inj CLR0 Clear screen
     @ 01,00,01,79 BOX SINGLE
     @ 24,00 SAY "Menu"

     . Generated code (standard):

     SETCOLOR( "W/B" )
     CLS
     * #COD OICLR0 * #END Clear screen
     @ 01,00,01,79 BOX SINGLE
     @ 24,00 SAY "Menu"

   If the system, during generation, encounters the command '.inj CLR0' in
   the template, it will search for the code of the current object and will
   bring the eventual manual addition exactly where the programmer has
   entered it before.

     SETCOLOR( "W/B" )
     CLS
     * #COD OICLR0 Clear screen
     @ 02,01 SAY "ISA Srl - Italian Software Agency"
     @ 02,40 SAY "Baveno (NO) - Tel ++39-323-922066"
     * #END
     @ 01,00,01,79 BOX SINGLE
     @ 24,00 SAY "Menu"

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson