HP SunSoft Pascal 4.0 Instrukcja Użytkownika Strona 286

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 333
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 285
262 Pascal 4.0 Users Guide
A
The %nolist Directive
The %nolist directive disables the program listing.
Syntax
%nolist;
Comments
%nolist is the default.
Example
See the example under “The %list Directive.”
The listing includes the time
each unit was compiled and the
name of each unit compiled.
hostname% pc -xl list.p
Tue Feb 28 15:48 1995 list.p:
6 %list;
Tue Feb 28 15:50 1995 ./types.h:
1 type
2 lowints = 0..100;
3 primary_colors = set of (red, yellow, blue);
4 possibilities = set of boolean;
5 capital_letters = set of 'A'..'Z';
6 digits = set of lowints;
8 var
9 pri: primary_colors;
10 pos: possibilities;
11 cap: capital_letters;
12 dig: digits;
Tue Feb 28 15:52 1995 list.p:
7 %include 'types.h';
hostname% a.out
There are 3 primary colors
There are 2 possibilities
There are 26 capital letters
There are 101 digits
Przeglądanie stron 285
1 2 ... 281 282 283 284 285 286 287 288 289 290 291 ... 332 333

Komentarze do niniejszej Instrukcji

Brak uwag