21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

F Backus-Naur Formalism<br />

The <strong>QlikView</strong> command line syntax ( Command Line Syntax (page 38)) and Script Syntax (page 219) are<br />

described in a notation called Backus-Naur Formalism, or BNF code. Here follows a short description of the<br />

BNF code used in this manual:<br />

Symbol interpretation<br />

| Logical or: the symbol on either side can be used.<br />

( ) Brackets defining precedence: used for structuring the BNF syntax.<br />

[ ] Square brackets: enclosed items are optional.<br />

{ } Braces: enclosed items may be repeated zero or more times.<br />

symbol A non-terminal syntactic category: can be divided further into other symbols, e.g. compounds<br />

of the above, other non-terminal symbols, text strings, etc.<br />

::= Marks the beginning of a block that defines a symbol.<br />

load A terminal symbol consisting of a text string. Should be written as it is into the script.<br />

Non-terminal symbols are indicated by italic type and all terminal symbols are printed in a bold face font.<br />

E.g. "(" should be interpreted as a bracket defining precedence, whereas "(" should be interpreted as a character<br />

that should be printed in the script.<br />

Example:<br />

The description of the alias statement is:<br />

aliasfieldnameasaliasname { , fieldname as aliasname }<br />

This should be interpreted as the text string alias, followed by an arbitrary field name, followed by the text<br />

string as, followed by an arbitrary alias name. Any number of additional combinations of fieldnameasaliasname<br />

may be given, separated by commas.<br />

E.g. the following statements are correct:<br />

alias a as first;<br />

alias a as first, b as second;<br />

alias a as first, b as second, c as third;<br />

And the following statements are not correct:<br />

alias a as first b as second;<br />

alias a as first {, b as second};<br />

905

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!