Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1.  
  2. // *********************************************
  3. // * Aplikacja uruchamiana w oknie, wyposa¿ona *
  4. // * w menu steruj¹ce i winietê informacyjn¹. *
  5. // *********************************************
  6.  
  7. // deklaracja zmiennych
  8.  
  9. char Text1;
  10. char Text2;
  11. char Text3;
  12.  
  13. // automatyczne uruchomienie aplikacji
  14.  
  15. run;
  16.  
  17. Text1 := "Tekst 1 aplikacji";
  18. Text2 := "Informacje dodatkowe\nTekst 2 bazy wiedzy\nWydawca";
  19. Text3 := "© 1999, Tekst 3/Firma";
  20.  
  21. // utworzenie okna g³ównego aplikacji
  22.  
  23. createAppWindow;
  24. setAppWinTitle( Text1 );
  25.  
  26. // winieta - informacja o programie
  27.  
  28. vignette( Text1, Text2, Text3 );
  29.  
  30. // menu steruj¹ce programu
  31.  
  32. menu "Menu"
  33.  
  34. 1. "Pierwsza opcja"
  35. 2. "Druga opcja"
  36.  
  37. case 1:
  38.  
  39. goal( "rrodzaj = X" );
  40. delNewFacts;
  41.  
  42. case 2:
  43.  
  44. exit
  45.  
  46.  
  47. end;
  48.  
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement