[ The Sunny Spot ] WPP v2.10 - The Web Preprocessor
Author : Marco Lamberto
Preprocessed by WPP
   Index < Previous    Next >   

Predefined Variables Test

Read-Only Variables:

WPP_VERSION=[2.10]
DATE=[1998/09/23 11:26:51]
FILEDATE=[]
AT=[@]
TEMPLATE=[]
FILENAME=[test_page]
TMPLDIR=[templates]
RAWDIR=[.]
OUTPUTDIR=[..]
OUTPUTSUBDIR=[]
EXTENSION=[html]

Configuration Variables:

DEFAULT_HEAD=[head]
DEFAULT_TAIL=[tail]
DEFAULT_TMPLDIR=[templates]
DEFAULT_OUTPUTDIR=[..]
DEFAULT_EXTENSION=[html]
Variables Test
TITLE=[[ WPP - The Web Preprocessor ] Test Page]
V_ASSIGN[]
VAR=[ciao]
VAR=[ ciao ]
FILENAME=[test_page]

  • Variable LI=UL
  • a
  • b
  • c
  1. Variable LI=OL
  2. a
  3. b
  4. c
Read-only variables test skipped (edit the raw/config file).
IF Test
Simple:
test passed
! test passed

Nested:

Part 1:
1i OK
2i OK
Part 2:
1e OK
4e OK
5i OK
INCLUDE Test
last included template: [templates/head.tmpl]
TEMPLATE [templates/tests/include1.tmpl]
TEMPLATE [templates/tests/include2.tmpl]
TEMPLATE [templates/tests/include3.tmpl]
Last included template [templates/tests/include3.tmpl]
END [templates/tests/include3.tmpl]
Last included template [templates/tests/include3.tmpl]
END [templates/tests/include2.tmpl]
Last included template [templates/tests/include2.tmpl]
END [templates/tests/include1.tmpl]
last included template: [templates/tests/include1.tmpl]
TEMPLATE=[]
html file from test_page.raw
INCLUDE recursion test skipped (edit the raw/config file).
Macro Expansion Test 1
BOX_OPEN() & BOX_CLOSE() macros.

Include inside a macro.

Begin [
TEMPLATE [templates/tests/include1.tmpl]
TEMPLATE [templates/tests/include2.tmpl]
TEMPLATE [templates/tests/include3.tmpl]
Last included template [templates/tests/include3.tmpl]
END [templates/tests/include3.tmpl]
Last included template [templates/tests/include3.tmpl]
END [templates/tests/include2.tmpl]
Last included template [templates/tests/include2.tmpl]
END [templates/tests/include1.tmpl]
] End
Macro Expansion Test 2
String args
  1. test args:
  2. A String
  3. String with @
  1. test args:
  2. " escaping
  3. , inside "

Variables args
  1. test args:
  2. test_page
  3. html
  4. 2.10
  1. test args:
  2. 2.10
  3. 1998/09/23 11:26:51
  4. [ WPP - The Web Preprocessor ] Test Page
Built-in Macro HTML_IMAGE_SIZE Test
 

   ^ Top < Previous    Next >   
Marco (LM) Lamberto lm@geocities.com
Revised: 1998/09/23 11:26:51
http://www.geocities.com/Tokyo/1474/wpp/test_page.html
Preprocessed by WPP Graphics by GIMP