Inline Components
Inline Components
Since Lucee 6.0, Lucee allows you to create inline components.
These are components you can create directly in your CFML code, with no need to create a .cfc
file for it.
This feature allows you to directly use them, similar to closures, enabling more dynamic programming approaches.
This example shows how to create an inline component and then use it:
"; } }; dump("inline->" & inline.subTest()); dump(inline);