arithmetic.vm
来自「velocity 的脚本语言的全部代码集合」· VM 代码 · 共 39 行
VM
39 行
#**@test arithmetic.vmThis template is used for Velocity regression testing.If you alter this template make sure you change thecorresponding comparison file so that the regression test doesn't fail incorrectly.*##set($foo = 5)#set($foo = $foo + 1)$foo#set($foo = $foo - 1)$foo#set($foo = $foo * 2)$foo#set($foo = $foo / 2)$fooAnd the whole thing again with inline set statements#set( $foo = 5)#set( $foo = $foo + 1)$foo#set ( $foo = $foo - 1 )$foo#set( $foo = $foo * 2)$foo#set ($foo = $foo / 2)$foo
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?