continue
eharetea

This will continue to the next loop if the statement is true.

The continue Hscript command in action.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 01:54 AM

Start a default houdini session and open an Hscript terminal and type the commands:
foreach z (`run("opfind -t mantra")`)
   if($z=="/out/mantra1")
      continue
   endif
   echo $z
end
OUTPUT:
>> /out/fast_mantra
>> /out/mantra_sel