Skip to main content

isEmpty

Short summary

This assertion method checks if the current string stringToCheck is empty. Processed strings must be in Windows-1252 or Windows-1251 encoding

Parameters

NameTypeCommentKind
stringToCheckTc2_System.T_MaxStringcurrent string to checkinput
messageAssertMessagemessage if the assertion is falseinput

Code

Declaration

METHOD isEmpty
VAR_INPUT
(* current string to check *)
stringToCheck :Tc2_System.T_MaxString;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR