Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
do(
   $outputString = "Can't find Wally..."
   
   forEach($manager, $managersList
   	  
	  if($manager = "Wally",
   	     do(
		    	$outputString "Found Wally!"
   	        			break()
		 )
   	  )
   ),
   
   //output the result
   $outputString
)   

...