Logiweb(TM)

7.1.7.4 What ""N expands to

Prev Up Next Page 148 of 800 Search internet


The combinations page only defines the two constructs:

  combinations
  (( " , " ))

On the combinations pge, the ""N escape sequence expands into the following:

  lgcdef lgcname of combinations as "combinations" enddef
  lgcthen
  lgcdef lgcname of (( lgcvar , lgcvar )) as "(( ""! , ""! ))"
  lgcthen
  lgcend

To perform the expansion, the following constructs are needed:

  lgcdef " of " as " enddef
  lgcname
  lgcvar
  lgcthen
  lgcend

Those constructs are defined on the base page.

lgc(1) expands ""N as follows. First it looks for constructs with the following names:

  lgclgcdef " of " as " enddef
  lgclgcname
  lgclgcvar
  lgclgcthen
  lgclgcend

If found, it uses those constructs. For those construct not found, lgc discards the three first letters of the construct and tries again. Then lgc expands the ""N escape sequence using the constructs found. If lgc finds neither lgclgcname nor lgcname it uses the string "name" instead. For the other constructs, lgc issues an error message.

Note that lgc only tries to discard three letters one time. Thus, lgc is willing to use lgclgcvar and lgcvar but not var for expanding ""N escape sequences.

Note that the option to use one more or one less 'lgc' may be combined with qualification.

Prev Up Next Page 148 of 800 Search logiweb.eu

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