- Define the data types that you want 'and' to overload. The format of your response here is to replace xxx with the data type you want to 'and':
Code:
function "and" (L, R: xxx) return xxx;
- Define the function you want to compute. The format of your response here is to replace the comment with how you want 'and' to now operate:
Code:
function "and" (L, R: xxx) return xxx is
variable RetVal: xxx;
begin
RetVal := -- Put your code here to compute what value you want to return
return(RetVal);
end function "and";