-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
example:
TMyRendererLib=class
public
class function WordWrap(const AText : string; const AMaxCharsPerLine : integer; const AEOL : string) : string; static;
class function MyWrp(const AText, AEOL : string; const AMaxCharsPerLine : integer) : string; static;
end;
In the template:
<%MyWrp("This is a very long line which has te be wordwrapped in orde to be visible in the availabe space", '
\n', 20)%>\n
<%WordWrap("This is a very long line which has te be wordwrapped in orde to be visible in the availabe space", 20, '
\n')%>\n
The MyWrp function works, with the WordWrap function the parsers exceptions with: "(Line 1, Column xxx) Parsing error. Expecting: )"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels