<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body>
<p style="margin: 0pt;"> </p>
<p style="margin: 0pt;"><span><span></span></span></p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>Marco Ciampa <ciampix@libero.it> hat am 1. Juni 2012 um 12:05 geschrieben:
<br/>
<br/>> 1) is this a developers only ml? Am I in the wrong list to ask general usage
<br/>> questions? I case vould you (please) point me to the right ml? TIA
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">You are welcome.</p>
<p style="margin: 0px;">This list is about Lazarus. There are many other lists about fpc in general and about using fpc with other libraries/projects. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>> 2) the real question(s).
<br/>>
<br/>> I work in a high school. I do not usually use fpc/lazarus but the whole
<br/>> project is interesting for me since it is able to do so many things that
<br/>> I've never seen in any other RAD tool, free or not.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">:) </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>> We use fpc for education (algorithms/logic/etc.) mainly in the small
<br/>> time space in the math lessons but:
<br/>>
<br/>> - DevPascal is old, buggy, undeveloped, untranslated and somehow works
<br/>> very bad under Windows if you are not an administrator
<br/>> (like a student in a school PC)
<br/>>
<br/>> - FreePascal is a Dos app. , really ugly as was TP 20 years ago with
<br/>> similar concern regarding the multiuser use with Win...
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">No, Free Pascal is the compiler, some tools and a lot of libraries. It also has a console IDE called "fp". </p>
<p style="margin: 0px;">Most compilers are command line utilities and fpc is no exception.</p>
<p style="margin: 0px;">Lazarus simply calls fpc to compile your code. </p>
<p style="margin: 0px;">Console applications are far older than DOS, still the best tool for many tasks and there are still new console tools are invented. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>> - Lazarus works perfectly in Windows, is easy to install in school as
<br/>> at home and it works under Linux and Mac which is a real plus.
<br/>>
<br/>> I've found some Delphi examples around in Internet, like this site:
<br/>>
<br/>> http://www.pierotofy.it/pages/sorgenti/Pascal/
<br/>>
<br/>> in particular this small game:
<br/>>
<br/>> http://www.pierotofy.it/pages/sorgenti/dettagli/18955-Connect_Four/
<br/>>
<br/>> If I import in Lazarus it works like a charm.
<br/>>
<br/>> Ok now the real questions:
<br/>>
<br/>> 1) it "uses windows, graph;" where can I find reference info, examples
<br/>> and other doc about these libs?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">These are not Lazarus units. </p>
<p style="margin: 0px;">The windows unit is simply the binding to the MS Windows libraries, so you can find the information at msdn.</p>
<p>I never used the graph unit, so I can't help here. </p>
<p> </p>
<div style="margin: 5px 0px;">
>
<br/>> 2) if I vould like to port this program under Linux I imagine that the
<br/>> "windows" lib could be unusable. The shortest way to do it is ... ?
<br/>> Hints on how to do it are where?
</div>
<p> </p>
<p>The graph unit exists under Linux too. FPC provides platform independent functions for most system tasks.</p>
<p> </p>
<p>Mattias</p>
<p> </p>
</body></html>