HP SunSoft Pascal 4.0 Manual de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 333
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 332 333

Comentarios a estos manuales

Sin comentarios