vm_test2.vm

来自「velocity 的脚本语言的全部代码集合」· VM 代码 · 共 25 行

VM
25
字号
#**@test vm_test2.vmThis template is used for Velocity regression testing.If you alter this template make sure you change thecorresponding comparison file so that the regressiontest doesn't fail incorrectly.Tests VM recursion *and* the local template namespace feature.This version of recurse should override the global versionwhen called by the global VM callrecurse()*##macro( recurse $a )  local recurse $a  #set( $a = $a - 1)  #if ($a > 0)    #recurse( $a )  #end#end#set($count = 5)#callrecurse()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?