source:
trunk/Examples/Square.pas
| Last change on this file was 2, checked in by , 6 years ago | |
|---|---|
| File size: 166 bytes | |
| Line | |
|---|---|
| 1 | var x, squ; |
| 2 | |
| 3 | procedure square; |
| 4 | begin |
| 5 | squ := x * x |
| 6 | end; |
| 7 | |
| 8 | begin |
| 9 | x := 1; |
| 10 | while x <= 10 do |
| 11 | begin |
| 12 | call square; |
| 13 | !squ; |
| 14 | x := x + 1 |
| 15 | end |
| 16 | end. |
| 17 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/pl0/chrome/site/your_project_logo.png)