HP SunSoft Pascal 4.0 Uživatelský manuál Strana 57

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 333
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 56
The Pascal Compiler 33
3
–L
The –L option maps all keywords and identifiers to lowercase. In Pascal,
uppercase and lowercase are not interchangeable in identifiers and keywords.
In standard Pascal, the case is insignificant outside of character strings and
character constants. The –L option is most useful for transporting programs
from other systems. See also the –s option.
–l
The –l option produces a listing of the program. For example:
The first line identifies the version of the compiler you are using. The next line
gives the modification time of the file being compiled. The remainder of the
listing is the source program.
-Ldirectory
The -Ldirectory option adds directory to the ld library search path for ld.
hostname% pc -l random.p
Pascal PC -- Version SC4.0 09 Jan 1995 Pascal 4.0
Mon Jan 09 09:04 1995 random.p:
1 program random_number(output);
2 var
4 i: integer;
5 x: integer;
6
7 begin
8 for i := 1 to 5 do begin
9 write(trunc(random(x) * 101))
10 end;
11 writeln
12 end.
Zobrazit stránku 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 332 333

Komentáře k této Příručce

Žádné komentáře