Some operand work for right. Needs work.

This commit is contained in:
barant committed 2025-01-09 17:11:15 -08:00
1 parent 3f4ca13f3f
commit 6516aee6cc
6 files changed
+29 -3

No files matched your search

+3
View File
@@ -5,4 +5,7 @@
test1=$[test1]
name1=$[%name1]
error=$[error]
<call error="rc" pgm="/usr/bin/ls" arg1="-al" />
$[rc]
</jet>
+2
View File
@@ -6,4 +6,6 @@ $[test2]=10
<set name="numbers">0123456789</set>
<set name="lefty" expr="left($[numbers],5)" />
$[lefty]=01234
<set name="righty" expr="right($[numbers],5)" />
$[righty]=56789
</jet>
+2 -2
View File
@@ -40,9 +40,9 @@
<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>
<comment><include file="./testinclude.jet" />
<include file="./testinclude.jet" />
include: $[include]
localvar='#[localvar]'</comment>
localvar='#[localvar]'
>>>$[noeval]<<<
>>>$[thename]<<<
<set name="iz" value="data" />
+1
View File
@@ -1,4 +1,5 @@
#!../jet-2.0
<upload name="imagefiledata" path="images/%name" />
<jet cgi="true">
$[:name]
$[:name:1]