stop ( : : : )

Stop program execution.

stop stops the program execution of HDevelop. The PC is then placed at the program line behind stop. The operator is equivalent the pressing the stop button in the menu bar.


Attention

stop is not available in C++.


Example
read_image (Image, 'fabrik')
regiongrowing (Image, Regions, 3, 3, 6, 100)
Number := |Regions|
dev_update_window ('off')
for i := 1 to Number by 1
  RegionSelected := Regions[i]
  dev_clear_window ()
  dev_display (RegionSelected)
  stop ()
endfor

Result

stop always returns 2 (H_MSG_TRUE)


Parallelization Information

stop is reentrant, local, and processed without parallelization.


See also

exit


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH