Table of Content
HAL Forum
function Boolean BlankTime (
Time wtime)
Description:
Returns false if argument is correct time and true if argument is blank
Parameters:
wtime Time for comparision with blank time
function Boolean TimeInRangeUserCheck(Time tt,Time st,Time et)
begin
  Boolean res;
  
  res = true;
  if (nonblanktime(st)) then begin
    if (tt<=st) then begin res = false; end;
  end;
  if (nonblanktime(et)) then begin
    if (tt>=et) then begin res = false; end;
  end;
  if (blanktime(tt)) then begin
    res = true;
  end;
  TimeInRangeUserCheck = res;
  return;
end;
Related topics:
««