Basic Pascal Tutorial/Hello, World/es

From Lazarus wiki
Revision as of 02:52, 14 February 2010 by Iskraelectrica (talk | contribs) (New page: {{Hello,_World}} category:Españolcategory:Castellano (autor: Tao Yue, estado: sin cambios) ==Introducción == (autor: Tao Yue, astado: sin cambios)    En la corta...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

العربية (ar) български (bg) Deutsch (de) English (en) español (es) français (fr) italiano (it) 日本語 (ja) 한국어 (ko) русский (ru) svenska (sv) 中文(中国大陆)‎ (zh_CN)
(autor: Tao Yue, estado: sin cambios)

Introducción

(autor: Tao Yue, astado: sin cambios)

   En la corta historia de la programación de ordenadores, una tradición duradera es que el primer programa en un nuevo lenguaje es un "Hola mundo" en la pantalla. Así que vamos a hacer eso. Copia y pega el programa a tu IDE o editor de texto, a continuación, compila y ejecuta.

If you have no idea how to do this, return to the Table of Contents. Earlier lessons explain what a compiler is, give links to downloadable compilers, and walk you through the installation of an open-source Pascal compiler on Windows. <delphi> program Hello;

 begin
   writeln ('Hello, world.')
 end.</delphi>

The output on your screen should look like:

Hello, world.

If you're running the program in an IDE, you may see the program run in a flash, then return to the IDE before you can see what happened. See the bottom of the previous lesson for the reason why. One suggested solution, adding a readln to wait for you to press Enter before ending the program, would alter the "Hello, world" program to become: <delphi> program Hello; begin

 writeln ('Hello, world.');
 readln

end. </delphi>

previous contents next