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: pascal equi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 18 of 38 Topic 791 of 806
Post > Topic >>

Re: pascal equivalent of python "sleep"

by thomas.mertes@[EMAIL PROTECTED] May 8, 2008 at 10:33 AM

On 8 Mai, 18:08, Scott Moore <sam...@[EMAIL PROTECTED]
> wrote:
> thomas.mer...@[EMAIL PROTECTED]
 wrote:
> > IMHO the number of implementations does not play a role
> > for ****tability. C has many implementations and the
> > ****tability problems which exist in Pascal are simply
> > not present. The problem is that many of the early
> > proponents of Pascal (and if you look at this discussion
> > also current proponents) simply do not care about
> > ****tability. This has to do with the areas where C and
> > Pascal came from. BTW. There is some classic article
> > about Pascal and C from Brian W. Kernighan:
> >http://www.lysator.liu.se/c/bwk-on-pascal.html
>
> Pascal has a standard, the ISO 7185 standard. Today there
> are basically two working dialects of Pascal, Borland's
> Delphi, and ISO 7185. Virtually all compilers available
> today obey one or the other, and the compiler GPC implements
> both.

So there are two Pascal langages instead of one...

> I cannot comment on the ****tability of programs between
> the Borland series implementations (others here can). The
> ****tability between conforming ISO 7185 implementations is
> outstanding.

We already talked about the missing else/otherwise clause
of the 'case' statement in the standard. I know about the
solution with an 'if' statement around the 'case' but
this is not a pretty solution. For some time I used
programs with 'if' statements around the 'case' and
else/otherwise clauses under comment so I could comment
and uncomment to adjust to the Pascal compiler used.
I had similar code variants for file handling, string
management and other things. At the end I got tired of
doing this adjustments and I switched to C.

> There is always going to "a ****tability issue" with folks
> who don't read the standards. Microsoft C products, a very
> popular implementation of C, have their own special
> constructs in C that are outside the standard. If you use
> them, you are not ****table, and Microsoft certainly uses
> them in their code.

If you use Microsoft extensions/libraries you always
use ****tability. That is exactly the reason these
extensions/libraries are desined for.

> Finally, if you are interested in getting a series of
> standard libraries for your language, thats certainly a good
> goal.

What areas should be covered by standard libraries?

> But again, who has done that? What language? C?
> The standard for C specifies the standard I/O library,
> things like printf(), scanf(), etc.

IIRC the functions guaranteed to be present in the C
library are more numerous than the ones defined in
standard Pascal. The area covered by the standard C library
is IMHO also a little bit bigger.

> Outside of that,
> (for example sleep), there are many libraries for C, none
> of them particularly standard.

Many functions from POSIX can be found also at non UNIX
operating systems.

Greetings Thomas Mertes

Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, ****table, runs under linux/unix/windows.
 




 38 Posts in Topic:
pascal equivalent of python "sleep"
Sean McIlroy <sean_mci  2008-05-07 16:42:05 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-07 20:38:32 
Re: pascal equivalent of python "sleep"
Sean McIlroy <sean_mci  2008-05-07 19:39:20 
Re: pascal equivalent of python "sleep"
Martin Liddle <news09@  2008-05-08 06:55:04 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 05:58:47 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 13:19:46 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 07:55:32 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 08:07:24 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 15:34:45 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 08:08:54 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 17:52:47 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 14:06:56 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 20:18:09 
Re: pascal equivalent of python "sleep"
Waldek Hebisch <hebisc  2008-05-09 21:34:21 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-10 19:08:38 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 10:05:23 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 18:09:24 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 10:33:23 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 18:11:21 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-08 13:40:02 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-12 12:18:59 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 10:36:35 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 19:58:23 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 11:51:40 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-08 12:17:12 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-08 20:06:32 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-08 18:22:22 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-08 18:29:11 
Re: pascal equivalent of python "sleep"
CBFalconer <cbfalconer  2008-05-08 19:23:17 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 08:24:33 
Re: pascal equivalent of python "sleep"
Scott Moore <samiam@[E  2008-05-09 10:47:57 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 19:55:35 
Re: pascal equivalent of python "sleep"
Marco van de Voort <ma  2008-05-09 20:08:19 
Re: pascal equivalent of python "sleep"
Florian.Klaempfl@[EMAIL P  2008-05-09 10:43:38 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 13:28:37 
Re: pascal equivalent of python "sleep"
Florian.Klaempfl@[EMAIL P  2008-05-09 13:45:58 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 13:52:25 
Re: pascal equivalent of python "sleep"
thomas.mertes@[EMAIL PROT  2008-05-09 14:11:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Jul 6 6:48:44 CDT 2008.