[r909]: / branches / develop / mqttsparkplug / mqttsparkplug / Sparkplug™ MQTT edge and host / Functions / ReturnFileName / svnobj  Maximize  Restore  History

Download this file

8 lines (7 with data), 3.7 kB

1
2
3
4
5
6
7
FUNCTION ReturnFileName : WSTRING
VAR_INPUT
PT := ADR(FileName);
            iLength := TO_INT((SIZEOF(FileName) - RightMostAfterLastSlash)),
            iPosition := TO_INT(RightMostAfterLastSlash),
            pwstResult := ADR(ReturnFileName),
            uiResultBufferSize := SIZEOF(ReturnFileName));