Made $[%name] to retrieve keyword values in a tag. Has bugs.
This commit is contained in:
1 parent
9622b5cf8c
commit
f6dda8496c
17 files changed
+85
-64
No files matched your search
+4
-8
@@ -14,17 +14,13 @@ modified1=[ABCD]
|
||||
multiplication=[15]
|
||||
nested=[64]
|
||||
newname=[another container value]
|
||||
noeval=[this is the value store in #[name1].]
|
||||
noeval=[this is the value store in $[%name1].]
|
||||
numbers=[0123456789]
|
||||
subtraction=[2]
|
||||
theexpr=[bcd]
|
||||
thename=[this is the value store in localname.]
|
||||
thename=[this is the value store in .]
|
||||
tohex=[tohex]
|
||||
varname1=[vardata]
|
||||
*** LOCAL VARIABLES ***
|
||||
cgi=[true]
|
||||
filterblanklines=[true]
|
||||
localvar=[This is a container set with 'localname']
|
||||
name1=[localname]
|
||||
testinclude=[xThis is a container set with 'localname'x]
|
||||
trimlines=[true]
|
||||
localvar=[This is a container set with '']
|
||||
testinclude=[xThis is a container set with ''x]
|
||||
@@ -1,6 +1,6 @@
|
||||
<set name="localvar" scope="local">This is a container set with '#[name1]'</set>
|
||||
<set name="localvar" scope="local">This is a container set with '$[%name1]'</set>
|
||||
This is from an include tag.
|
||||
localname='#[name1]'
|
||||
localname='$[%name1]'
|
||||
<set name="include" value="yes" />
|
||||
<set name="testinclude" value="x#[localvar]x" scope="local" />
|
||||
test='#[testinclude]'
|
||||
|
||||
+5
-5
@@ -3,7 +3,7 @@
|
||||
<header name="Content-Type" value="text/html" />
|
||||
<comment>This is a comment and should not show up in the output.</comment>
|
||||
<html>
|
||||
---#[name1]
|
||||
---$[%name1]
|
||||
<set name="modified1" value="ABCD" />
|
||||
$[modified1;tohex]
|
||||
<set name="tohex" value="tohex" />
|
||||
@@ -37,12 +37,12 @@
|
||||
5*3($[multiplication])
|
||||
5/3($[division])
|
||||
<set name="varname$[ix]" value="vardata" scope="global" />
|
||||
<set name="noeval" eval="no">this is the value store in #[name1].</set>
|
||||
<set name="thename" eval="yes">this is the value store in #[name1].</set>
|
||||
<set name="noeval" eval="no">this is the value store in $[%name1].</set>
|
||||
<set name="thename" eval="yes">this is the value store in $[%name1].</set>
|
||||
<set name="newname" scope="global">another container value</set>
|
||||
<include file="./testinclude.jet" />
|
||||
<comment><include file="./testinclude.jet" />
|
||||
include: $[include]
|
||||
localvar='#[localvar]'
|
||||
localvar='#[localvar]'</comment>
|
||||
>>>$[noeval]<<<
|
||||
>>>$[thename]<<<
|
||||
<set name="iz" value="data" />
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#!../jet-2.0
|
||||
<jet name1="localhost" filterblanklines="true" trimlines="true">
|
||||
<set name="test1" value="#[name1]" />
|
||||
<set name="test1" value="$[%name1]" />
|
||||
test1=[$[test1]]
|
||||
<set name="ix" value="1" />
|
||||
<set name="letterx" value="x" />
|
||||
@@ -8,7 +8,7 @@ test1=[$[test1]]
|
||||
<set name="1var1" value="This is another test" />
|
||||
<set name="var1var" value="Yet another test" />
|
||||
<set name="var11" value="it seems to work." />
|
||||
name1=[#[name1]]
|
||||
name1=[$[%name1]]
|
||||
$[$[ix]var$[ix];tobinary]
|
||||
$[var$[ix]]
|
||||
$[var$[ix]var]
|
||||
|
||||
Reference in new issue
Block a user