https://wiki.freepascal.org/api.php?action=feedcontributions&user=The1&feedformat=atomFree Pascal wiki - User contributions [en]2024-03-28T15:07:43ZUser contributionsMediaWiki 1.35.6https://wiki.freepascal.org/index.php?title=Round&diff=70481Round2013-06-11T05:57:32Z<p>The1: Created page with "Function '''Round''' rounds a real-type value to an Integer-type value. X is a real-type expression. Round returns a Longint value that is the value of X rounded t..."</p>
<hr />
<div>Function '''Round''' rounds a [[real]]-type value to an [[Integer]]-type value.<br />
X is a real-type expression. Round returns a [[Longint]] value that is the value of X rounded to the nearest whole number. If X is exactly halfway between two whole numbers, the result is the number with the greatest absolute magnitude.<br />
<br />
Declaration<br />
function Round(X: Real): Longint;<br />
<br />
See also:<br />
* [[Int]]<br />
* [[Trunc]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=Trunc&diff=70480Trunc2013-06-11T05:56:37Z<p>The1: Created page with "Function '''Trunc''' truncates a real-type value to an Integer-type value. X is a real-type expression. Trunc returns a Longint value that is the value of X rounde..."</p>
<hr />
<div>Function '''Trunc''' truncates a [[real]]-type value to an [[Integer]]-type value.<br />
X is a real-type expression. Trunc returns a [[Longint]] value that is the value of X rounded toward zero.<br />
<br />
Declaration<br />
function Trunc(X: Real): Longint;<br />
<br />
See also:<br />
* [[Int]]<br />
* [[Round]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=Int&diff=70479Int2013-06-11T05:55:57Z<p>The1: Created page with "Function '''Int''' returns the integer part of the argument. X is a real-type expression. The result is the integer part of X, rounded toward zero. Declaration function ..."</p>
<hr />
<div>Function '''Int''' returns the integer part of the argument. X is a [[real]]-type expression. The result is the integer part of X, rounded toward zero.<br />
<br />
Declaration<br />
function Int(X: Real): Real;<br />
<br />
See also:<br />
* [[Round]]<br />
* [[Trunc]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=Str&diff=70069Str2013-05-23T11:50:56Z<p>The1: Created page with "Procedure '''Str''' converts the numeric (real, Integer, Longint, Byte or Word) value to a string representation according to the '''Width''' and '''Decima..."</p>
<hr />
<div>Procedure '''Str''' converts the numeric ([[real]], [[Integer]], [[Longint]], [[Byte]] or [[Word]]) value to a string representation according to the '''Width''' and '''Decimals''' formatting parameters.<br />
<br />
X is an integer-type or real-type expression. Width and Decimals are integer-type expressions. S is a string-type variable.<br />
<br />
Declaration<br />
procedure Str(X [: Width [: Decimals ]]; var S);<br />
<br />
See also:<br />
* [[Val]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=Val&diff=70068Val2013-05-23T11:49:26Z<p>The1: Created page with "Procedure '''Val''' converts the String value '''S''' to its numeric representation. S is a string-type expression; it must be a sequence of characters that form a signed..."</p>
<hr />
<div>Procedure '''Val''' converts the [[String]] value '''S''' to its numeric representation.<br />
<br />
S is a string-type expression; it must be a sequence of characters that form a signed whole number. V is an integer-type or real-type variable. Code is a variable of type Integer. If the string is invalid, the index of the offending character is stored in Code; otherwise, Code is set to zero. <br />
<br />
<br />
Declaration<br />
procedure Val(S; var V; var Code: Integer);<br />
<br />
<br />
See also:<br />
* [[Str]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=Ord&diff=70057Ord2013-05-22T07:27:11Z<p>The1: </p>
<hr />
<div>Function '''ord''' returns the [[ASCII]] value of the [[Char|char]] '''c'''.<br />
<br />
Declaration<br />
Function ord (c : Char) : byte; <br />
<br />
<br />
See also:<br />
* [[chr]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=Ord&diff=70056Ord2013-05-22T07:26:38Z<p>The1: Created page with "Function '''ord''' returns which has ASCII value of the char '''c'''. Declaration Function ord (c : Char) : byte; See also: * chr Category:Pascal"</p>
<hr />
<div>Function '''ord''' returns which has [[ASCII]] value of the [[Char|char]] '''c'''.<br />
<br />
Declaration<br />
Function ord (c : Char) : byte; <br />
<br />
<br />
See also:<br />
* [[chr]]<br />
<br />
[[Category:Pascal]]</div>The1https://wiki.freepascal.org/index.php?title=User_talk:The1&diff=69843User talk:The12013-05-12T19:50:06Z<p>The1: new section (tutorial)</p>
<hr />
<div>==Tutorial==<br />
{{Object_Pascal_Tutorial}}<br />
__TOC__<br />
''This is a test page.I will develop this more, to become a useful tutorial for Romanian speakers.'' <br />
== Prezentare generală ==<br />
[http://www.taoyue.com/ Tao Yue] a scris o prezentare de ansamblu și un tutorial Pascal, pe care, cu generozitate, s-a oferit să-l wikizeze și să-l postate pe Lazarus-ccr, cu condiția ca:<br />
<br />
* Postarea noastră este legată la adresa tutorialului original: http://www.taoyue.com/tutorials/pascal/<br />
* Este clarificat în paginile care au fost modificate față de cele originale.<br />
<br />
Vă rugăm să contactați autorul și de a obține permisiunea înainte de a reposta părțile scrise de Tao Yue în alte site-uri în afară de acest wiki.<br />
<br />
Tutorialul poate fi găsit aici: [[Object_Pascal_Introduction|Tutorial Object Pascal de Tao Yue]] sau în cuprinsul de mai jos.<br />
<br />
''Pentru cei dintre dumneavoastră care sunteți familiarizați cu mediul de programare Delphi, etapele unei aplicații sunt aceleași: inițierea unui proiect, adăugarea de formulare, adăugarea de obiecte în interiorul formularelor, adăugarea de proceduri și evenimente aferente formularelor și obiectelor (voi dezvolta mai pe larg în zilele următoare)''.<br />
==Cuprins==<br />
* [[Object_Pascal_Introduction|Introducere]]<br />
* [[Object_Pascal_History|Istoria limbajului Pascal]]<br />
* [[Compilers|Compilatoare Pascal]]<br />
* [[Hello,_World|Programul "Hello, world!"]]<br />
* [[Program_Structure|1. Noțiuni de bază]]<br />
** [[Program_Structure|Structura programului]]<br />
** [[Identifiers|Identificatori]]<br />
** [[Constants|Constante]]<br />
** [[Variables_and_Data_Types|Variabile și tipuri de date]]<br />
** [[Assignment_and_Operations|Atribuiri și operații]]<br />
** [[Standard_Functions|Funcții standard]]<br />
** [[Punctuation_and_Indentation|Punctuație și indentare]]<br />
** [[Programming_Assignment|Atribuire]]<br />
** [[Solution|Soluții]]<br />
* [[Input|2. Instrucțiuni de intrare/ieșire]]<br />
** [[Input|Instrucțiuni de intrare]]<br />
** [[Output|Instrucțiuni de ieșire]]<br />
** [[Formatting output|Instrucțiuni de ieșire formatată]]<br />
** [[Files|Fișiere]]<br />
** [[EOLN_and_EOF|EOLN și EOF]]<br />
** [[Programming_Assignment_2|Atribuire]]<br />
** [[Solution_2|Soluții]]<br />
* [[Sequential_control|3. Fluxul unui program]]<br />
** [[Sequential_control|Control secvential]]<br />
** [[Boolean_Expressions|Boolean Expressions]]<br />
** [[IF|Structura alternativă]]<br />
*** [[IF|Instrucțiunea IF]]<br />
*** [[CASE|Instrucțiunea CASE]]<br />
** [[FOR..DO|Structura iterativă]]<br />
*** [[FOR..DO|Instrucțiunea FOR]]<br />
*** [[WHILE..DO|Instrucțiunea WHILE]]<br />
*** [[REPEAT..UNTIL|Instrucțiunea REPEAT]]<br />
*** [[FOR..IN|Instrucțiunea FOR..IN]]<br />
** [[Programming_Assignment_3|Exemple: șirul lui Fibonacci și puterile lui 2]]<br />
** [[Solution_3|Soluții]]]<br />
* [[Procedures|4. Subprograme]]<br />
** [[Procedures|Proceduri]]<br />
** [[Parameters|Parametri]]<br />
** [[Functions|Funcții]]<br />
** [[Scope|Domeniul de definiție al variabilelor]]<br />
** [[Recursion|Recursie]]<br />
** [[Forward_Referencing|Referințe forward]]<br />
** [[Programming_Assignment_4|Exemplu: Problema turnurilor din Hanoi]]<br />
** [[Solution_4|Soluții]]<br />
* [[Enumerated_types|5. Tipuri de date]]<br />
** [[Enumerated_types|Tipuri enumerate]]<br />
** [[Subranges|Subdomenii]]<br />
** [[1-dimensional_arrays|Tablouri unidimensionale]]<br />
** [[Multidimensional_arrays|Tablouri multidimensionale]]<br />
** [[Records|Articole]]<br />
** [[Pointers|Pointeri]]<br />
* [[Graphis|Grafice]]<br />
** [[Drawing with canvas|Grafică]]<br />
* [[Object Oriented Programming with FreePascal and Lazarus|Programare orientată pe obiecte]]<br />
* [[Final_words|Recapitulare]]<br />
<br />
[[Category:Pascal]]<br />
[[Category:Tutorials]]<br />
<br />
--[[User:The1|The1]] 19:50, 12 May 2013 (UTC)</div>The1https://wiki.freepascal.org/index.php?title=User:The1&diff=68597User:The12013-04-19T11:09:07Z<p>The1: Created page with "Hello! I am a Lazarus Free Pascal user and I want to learn and work more with this"</p>
<hr />
<div>Hello! I am a Lazarus Free Pascal user and I want to learn and work more with this</div>The1