Files
spqr/power-query/fAddLogEntry.m

15 lines
600 B
Mathematica

let
fAddLogEntry = ( T_MESSAGE as text,
optional I_LEVEL as number,
optional LST_EXISTING as nullable list) as list =>
let
ExistingData = if P_LINK = null then "" else P_LINK,
LinkText = if P_LINK_TEXT = null then
try fP("LINK_SYMBOL") otherwise P_LINK
else
P_LINK_TEXT,
Result = "=ГИПЕРССЫЛКА(""" & Link & """;""" & LinkText & """)"
in
Result
in
fAddLogEntry