home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / prg / sphinx / examples / other / llocal.c__ < prev    next >
Encoding:
Text File  |  1993-05-14  |  395 b   |  36 lines

  1. /*
  2.     NAME:  LLOCAL.C--
  3.     DESCRIPTION:  Last minute example of procedures and local variables,
  4.                   you get the idea.
  5.     RUN FILE SIZE:  102 bytes
  6. */
  7.  
  8.  
  9.  
  10. main()
  11. {proc1();
  12. }
  13.  
  14.  
  15. proc1()
  16. byte hello,i;
  17. word bag,cat[5+12];
  18. {
  19. hello = 1;
  20. i = 1;
  21. PROC2();
  22. bag = 1;
  23. cat = 1;
  24. }
  25.  
  26.  
  27. PROC2()
  28. byte hello,i;
  29. word bag,cat;
  30. {
  31. hello = 2;
  32. i = 2;
  33. bag = 1;
  34. cat = 1;
  35. }
  36.