Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: read shows ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 23 Topic 717 of 811
Post > Topic >>

Re: read shows surprising results

by "Richard Engebretson" <eng@[EMAIL PROTECTED] > Feb 16, 2007 at 05:55 AM

On Feb 16, 1:34 am, Dirk Weber <dirk-we...@[EMAIL PROTECTED]
> wrote:
> Hi,

Hi,
Please feel comfortable asking these questions.

First, realize that what looks like simple code already has a ton of
background code. You are working on linux, not DOS. So including the
CRT unit already messes you up. Using clrscr; invites a lot of runtime
errors, especially from the fp IDE.

A good approach on linux is to use xterm. It is the equivalent of a
DOS CRT, except you can have 50 of them running simultaneously. So you
are already far beyond TurboPascal on DOS. Each xterm, when active,
has read and write called standard input and output. This is where
gentoo is nice, it will open new xterms in your working directory. You
can compile in one xterm, with a great fpc error message system. Then
run in another xterm.

For me, when fpc is properly configured (and IIRC fpc2 did properly
configure when using the RPM) simply typing (at the prompt) fpc
selbsttest_s_25.pp will produce informative error messages or an
executable file. Then on a separate xterm (effectively a separate DOS
computer, but better) type " ./selbsttest_s_25 " .

I have never used the CRT unit. I am working on something similar to
Ken Wright's oCRT unit. But I won't pretend it will work on other than
linux.

If you are working on linux, and using freepascal, you are no
beginner. That is certain.

Rick.
 




 23 Posts in Topic:
read shows surprising results
Dirk Weber <dirk-weber  2007-02-16 08:34:29 
Re: read shows surprising results
Wolf Behrenhoff <NoSpa  2007-02-16 12:20:28 
Re: read shows surprising results
Marco van de Voort <ma  2007-02-16 12:05:55 
Re: read shows surprising results
"Richard Engebretson  2007-02-16 05:55:58 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-17 07:12:00 
Re: read shows surprising results
Marco van de Voort <ma  2007-02-17 12:35:24 
Re: read shows surprising results
"Richard Engebretson  2007-02-17 05:00:23 
Re: read shows surprising results
CBFalconer <cbfalconer  2007-02-17 08:18:02 
Re: read shows surprising results
CBFalconer <cbfalconer  2007-02-17 09:26:48 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-18 11:00:00 
Re: read shows surprising results
CBFalconer <cbfalconer  2007-02-16 10:52:46 
Re: read shows surprising results
John Reagan <john.reag  2007-02-16 18:54:37 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-17 07:19:00 
Re: read shows surprising results
"Richard Engebretson  2007-02-16 13:10:03 
Re: read shows surprising results
"Richard Engebretson  2007-02-16 13:42:11 
Re: read shows surprising results
Waldek Hebisch <hebisc  2007-02-16 23:19:19 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-17 07:25:00 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-17 07:22:00 
Re: read shows surprising results
Marco van de Voort <ma  2007-02-17 12:29:16 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-17 07:04:00 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-17 07:17:00 
Re: read shows surprising results
dirk-weber@[EMAIL PROTECT  2007-02-18 11:02:00 
Re: read shows surprising results
CBFalconer <cbfalconer  2007-02-18 10:06:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:38:59 CDT 2008.