On this page
List of deprecated directives
The following directives are deprecated, but still working:
call: use user-defined directive call insteadcomment: This is the old format of<#--...-->. Anything between the<#comment>and</#comment>will be ignored.foreach: it is a synonym of thelistdirective with slightly different parameter syntax. The syntax is<#foreach item in sequence>that is equivalent with<#list sequence as item>.transform: use user-defined directive call instead
The following directives are not working anymore:
Legacy
function: Originallyfunctionwas used to define macros, and was deprecated in favor of themacrodirective. As of FreeMarker 2.3, this directive is reintroduced with different meaning: it is used to define methods.