Menu
Recherche




Articles & Documents

Fermer Tutoriaux

Lettre d'information
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
22 Abonnés
CPDB.Net

Nouvelles des Amis
Visites

   visiteurs

   visiteurs en ligne

Webmaster - Infos
forum.gifForum - ppCompiler - Sujet n°47

Forum - Forum
ppCompiler - ppCompiler


actif  Sujet n° 47  writeln in multi segment code

le 06/02/2012 @ 10:57
par DearJohn

Anonyme



Hi,

I use multi segment like it is shown in Lychee, and it works fine, but I realized, that some commands cannot be used in the segments like "clrscr", "write" od "writeln". The compiler says "writeln unknown". Is there a mandatory reason why these commands cannot be used or is there some trick about?

Thanks. Reinhard.

  Poster une réponse  Haut
Réponse n° 1
--------
le 06/02/2012 @ 21:52
par Philippe

Anonyme

visiteur
The link process is different when linking the main segment and the secondary segments. The standard Pascal run time library is only linked in  the main segment in order to avoid code duplication. This is not really a mandatory reason. A way to bypass this drawback is to concentrate the i/o procedures in the main segment and to reserve secondary segments to pure computation procedures.
Ecrire à Philippe   Poster une réponse  Haut
Réponse n° 2
--------
le 09/02/2012 @ 09:57
par DearJohn

Anonyme

visiteur

Thanks a lot.

Ecrire à DearJohn   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 




^ Haut ^