Logiweb(TM)

7.1.7.5 Charge definitions: ""C

Prev Up Next Page 149 of 800 Search internet


Consider the following lgs source text:

   ""P my page
   ""R base
   ""D 0
   a
   b
   ""D 6
   " + "
   ""B
   ""C

On the page above, ""C expands to this:

  lgcdef lgccharge of my page as "0" enddef
  lgcthen
  lgcdef lgccharge of a as "0" end enddef
  lgcthen
  lgcdef lgccharge of b as "0" end enddef
  lgcthen
  lgcdef lgccharge of lgcvar + lgcvar as "6" end enddef
  lgcthen
  lgcend

The ""C escape sequence is exactly like ""N except that ""C generates definitions which record the charge of each construct.

Prev Up Next Page 149 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05