diff options
author | Igor Kalnitsky <igor@kalnitsky.org> | 2012-02-07 21:29:58 +0200 |
---|---|---|
committer | Igor Kalnitsky <igor@kalnitsky.org> | 2012-02-07 21:29:58 +0200 |
commit | 3d1b3982a4b4fb5dc8ad5eba70b2416fb980b8ec (patch) | |
tree | f086edf649eceda1602c73e3559b786585287407 /tests/examplefiles/example.p | |
parent | 62213ae784abde261ec76d59d3bbfc2f0967dc28 (diff) | |
parent | b42b337d32c87768594934d01e0f40b4c83a435f (diff) | |
download | pygments-3d1b3982a4b4fb5dc8ad5eba70b2416fb980b8ec.tar.gz |
Merge with birkenfeld/pygments-main
Diffstat (limited to 'tests/examplefiles/example.p')
-rw-r--r-- | tests/examplefiles/example.p | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/examplefiles/example.p b/tests/examplefiles/example.p new file mode 100644 index 00000000..e8c17e33 --- /dev/null +++ b/tests/examplefiles/example.p @@ -0,0 +1,34 @@ +{include.i} +{nested.i {include.i}} + +&SCOPED-DEFINE MY_NAME "Abe" + +DEF VAR i AS INT NO-UNDO. +i = 0xABE + 1337 / (1 * 1.00) + +def var clowercasetest as char no-undo. +DEF VAR vardashtest AS DATETIME-TZ NO-UNDO. + +DEFINE TEMP-TABLE ttNames NO-UNDO + FIELD cName AS CHAR + INDEX IXPK_ttNames IS PRIMARY UNIQUE cName. + +/* One-line comment */ +/* Two-line + Comment */ +/* + Nested + /* + Multiline + /* + Comment + */ + */ +*/ + +CREATE ttNames. +ASSIGN ttNames.cName = {&MY_NAME}. + +FOR EACH ttNames: + MESSAGE "Hello, " + ttNames.cName + '!' VIEW-AS ALERT-BOX. +END. |