what is a boolean

0

procedure mainform.buttonsenabled(boolean); begin if result=true then begin button1.enabled:=true; button2.enabled:=true; button3.enabled:=true; end else begin button1.enabled:=false; button2.enabled:=false; button3.enabled:=false; end; end;

By Beginner Jim Renner at Feb 23 2021

0

Write a function isRed() that accepts a string parameter and looks for the presence of the word ‘red’ in the string. If it is found, return boolean True otherwise False. Finally output the result of calling the function with the value in text.

By Wooden Hammer Docteur SEO at Feb 03 2020


Related code examples


Code examples by languages