~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to docs/crtex/ex16.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Program Example16;
2
 
uses Crt;
3
 
 
4
 
{ Program to demonstrate the Sound and NoSound function. }
5
 
 
6
 
var
7
 
  i : longint;
8
 
begin
9
 
  WriteLn('You will hear some tones from your speaker');
10
 
  while (i<15000) do
11
 
   begin
12
 
     inc(i,500);
13
 
     Sound(i);
14
 
     Delay(100);
15
 
   end;
16
 
  WriteLn('Quiet now!'); 
17
 
  NoSound; {Stop noise}      
18
 
end.