| Target Language Compiler | ![]() |
Compatibility Issues
In bringing Target Language files from Release 11 to Release 12, the following changes may affect your TLC codebase:
%<LibBlockParameterValue(%<myVariable>,"", "", "")>
are no longer supported. You will have to convert these expressions into equivalent nonnested expressions.
%codeblock and %endcodeblock constructs are no longer supported.%defines & macro constructs are no longer supported.... and \) are not allowed inside of strings. Also, to place a double quote (") character inside a string, you must use \". Previously, TLC allowed you to do """ to get a double quote in a string.%include files in different contexts (e.g., from generated files inside of %with blocks, etc.) %include statements are now treated as if the were read in from the global scope.%function in one file and %include a file that had the %endfunction). This no longer works.%function foo () %function bar () %endfunction %endfunction
Record1 {
Val 2
RefRecord2
}
Record2 {
Val3
RefRecord1
}
recVar in previous versions of TLC and the current release.%assign recVarAlias = recVar { ...
field1 value1 ...
field2 value2 ...
...
fieldN valueN ...
}
%createrecord recVar { ...
field1 value1 ...
field2 value2 ...
...
fieldN valueN ...
}
See Records for further information.
EXISTS function have changed. In the previous release of TLC, EXISTS(var) would check if the variable represented by the string value in var existed. In the current release of TLC, EXISTS(var) checks to see if var exists or not.EXISTS(var)
EXISTS("%<var>")
| Target Language Compiler 4.0 New Features | Where to Go from Here | ![]() |