Table of Content
HAL Forum
function boolean SetInSet2 (
string FirstSet,string SecondSet)
Description:
Returns true if second string contains all values from first string with specified logic rules.
Parameters:
FirstSet first set of string values
SecondSet second set of string values
// Logic-rules: 
// OR = "+"
// AND=","
// CNOT="!"
external function boolean SetInSet2(string,string);

global
procedure OnApplicationStartup() 
begin

  if(SetInSet2("!ONE+(THREE,TWO)","ONE,TWO,THREE")) then begin
    stopalert("true");
  end else begin
    stopalert("false");
  end;

  return;
end;

Related topics:
««