You are here


19 January, 2016 - 11:41

Example 10.9: pseudocode: Function with no parameter passing

Function clear monitor  Pass In: nothing  Direct the operating system to clear the monitor  Pass Out: nothingEndfunction
Figure 10.10 Function clear monitor  

Example 10.10: pseudocode: Function main calling the clear monitor function

Function main  Pass In: nothing  Doing some lines of code  Call: clear monitor  Doing some lines of code  Pass Out: value zero to the operating systemEndfunction
Figure 10.11 Function main