You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To improve readability of the code it's better to use the (CR)LFSeparator method from the "Type Helper" codeunit
procedure MyProcedure()var
TypeHelper: Codeunit "Type Helper";
begin
TypeHelper.CRLFSeparator(); // Carriage return, '\r' and Line feed - '\n'
TypeHelper.LFSeparator(); // Line feed - '\n'end;
So a rule when a Char or Text[1] is set to the value 10, raise the rule to use the LFSeparator method.
Not sure what to do in case the value is 10, assume the CRLFSeparator method?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When working with line breaks, the most results show howto create a CrLF with a Char or Text variable.
To improve readability of the code it's better to use the (CR)LFSeparator method from the "Type Helper" codeunit
So a rule when a Char or Text[1] is set to the value 10, raise the rule to use the LFSeparator method.
Not sure what to do in case the value is 10, assume the CRLFSeparator method?
Beta Was this translation helpful? Give feedback.
All reactions