HP SunSoft Pascal 4.0 Manuel d'utilisateur Page 204

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 333
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 203
180 Pascal 4.0 Users Guide
8
Value Parameters
In general, Pascal passes value parameters on the stack.
Simple Types without the –xl Option
Without the -xl option, simple types match.
The commands to compile and
execute IntSetVar.p and
IntSetVarmain.f. The
output of this example depends
on the architecture of your
machine.
hostname% pc -c IntSetVar.p
hostname% f77 IntSetVar.o IntSetVarmain.f -lpfc -lpc
IntSetVarmain.f:
MAIN:
hostname% a.out
0 octal (word 5)
0 octal (word 6)
0 octal (word 7)
612 octal (word 8)
110 001 010 (binary, word 8)
876 543 210 (bit nos, word 8)
Vue de la page 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 332 333

Commentaires sur ces manuels

Pas de commentaire