Difference between revisions of "Sand Box"

From Free Pascal wiki
Jump to navigationJump to search
Line 1: Line 1:
{{Sand Box}}
+
{{Uses/fr}}
  
=Heading=
+
The '''uses''' statement is a [[declaration]] by a [[Pascal]] [[Program|program]] that it will invoke or use certain [[Procedure|procedures]], [[Function|functions]], [[object]]s, [[Const|const]]ants, [[Var|var]]iables and other items which are defined or declared in the specified [[Unit|unit]].
----
 
  
==Append==
+
Every pascal program and unit has an automatic implied uses statement of
  
<syntaxhighlight> Program Test;
+
  USES System;
  Uses Crt;
 
  
Var I : Integer;
+
except in the case where a compiler [[parameter]] allows a unit to exclude a reference to the [[System]] unit. (One example of this would be if one was recompiling the System unit, it would be necessary for it not to invoke itself.)
 
+
[[category:Pascal]]
Begin
 
  For I := 0 to 12 do
 
    WriteLn('Test ',I:2);
 
End.</syntaxhighlight>
 
 
 
--[[User:Ggeldenhuys|Graeme]] 11:03, 23 March 2012 (UTC) The DELPHI style doesn't seem to be supported, so we have to use the SOURCE tag instead.
 
 
 
===Sayonara===
 
 
 
Test O
 
 
 
How to use an internal link: [[#indenting first line|indent first line]].
 
 
 
==External link==
 
External link: [http://www.example.com link title]
 
<br>another link: [http://www.example.com link title]
 
 
 
<div class="floatright"> [[Image:Laz de menu bearb2.jpg]] </div>
 
 
 
 
 
 
 
==a image==
 
This text should be placed near the picture, does it? zxvzxcv zxvc xcv xzcv zxcv zxvc zxvc zxcv zxcv zxcv zxcv xcv xcv xcv xcv zxcv zxcv zxcv xcv zxcv zxcv aaaaaaaaaaaaa<br>
 
<b>And this line were is going?</b>  and this line?<br>
 
==a text==
 
This is the text
 
 
 
==new section test==
 
 
 
==Table 2==
 
<TABLE WIDTH="90%" CELLPADDING="1" CELLSPACING="1">
 
<TR>
 
  <TD><b>Header 1</b></TD>
 
  <TD><b>Header 2</b></TD>
 
  <TD><b>Header 3</b></TD>
 
  <TD><b>Header 4</b></TD>
 
</TR>
 
<TR>
 
  <TD>Item 1,1</TD>
 
  <TD>Item 1,2</TD>
 
  <TD>Item 1,3</TD>
 
  <TD>Item 1,4</TD>
 
</TR>
 
<TR>
 
  <TD>Item 2,1</TD>
 
  <TD>Item 2,2</TD>
 
  <TD>Item 2,3</TD>
 
  <TD>Item 2,4</TD>
 
</TR>
 
</TABLE>
 
 
 
==Bullets==
 
*One
 
*Two
 
**Tree
 
 
 
==Numbering==
 
#First
 
#Second
 
#Third
 
''Nested Numbering''
 
#First
 
##first.one
 
##first.two
 
##first.three
 
#Second
 
##second.one
 
##second.two
 
##second.three
 
''Mixed Numbering''
 
#First
 
#*first.one
 
#*first.two
 
#*first.three
 
#Second
 
#*second.one
 
#*second.two
 
#*second.three
 
 
 
==indenting first line==
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please note that all contributions to Lazarus-ccr are considered to be released under the GNU Free Documentation License (see Lazarus-ccr:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
 
: You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!
 
 
 
TEST
 
 
 
[[es:Probando]]
 
 
 
'''Another''' ''Test:'' '''''lets go crazy'''''
 
 
 
I want to create a boxed text:
 
This is in a '''box''', or so ''I hope''.
 
 
 
This is outside the box, no? And this is a reference to my incomplete
 
[http://www/pcug.org.au/~akabaila/StructuralAnalysis/  Structural Analyis] book
 
ThisIsMyShura
 
 
 
Weird: this is in the box as well?
 
 
 
* ''And a bullet in italics?''
 
 
 
<nowiki>non formatted...</nowiki>
 
 
 
==Humm==
 
 
 
=Float Like A Butterfly=
 
 
 
==New section?==
 
Let's see...
 
ok
 
 
 
grusskarte
 
 
 
if Graphviz was installed, this would draw a pretty graph...
 
 
 
<graphviz>
 
digraph G {
 
  rankdir=LR; node [fontsize = "8" shape = "rectangle"];
 
  "Node 1" -> "Node 2";
 
}
 
</graphviz>
 
 
 
This is a test to see, if I can edit a page after the Bad-Behavior update. [[User:Vincent|fpcfan]] 22:43, 7 December 2007 (CET)
 
 
 
==Tutorial links==
 
[http://www.chat11.com/30_Second_Quick_Wiki_Tutorial 30 Second Quick Wiki Tutorial]
 
 
 
Hello
 
c
 

Revision as of 09:34, 12 March 2014

Template:Uses/fr

The uses statement is a declaration by a Pascal program that it will invoke or use certain procedures, functions, objects, constants, variables and other items which are defined or declared in the specified unit.

Every pascal program and unit has an automatic implied uses statement of

USES System;

except in the case where a compiler parameter allows a unit to exclude a reference to the System unit. (One example of this would be if one was recompiling the System unit, it would be necessary for it not to invoke itself.)