Re: pascal equivalent of python "sleep"



On 2008-05-08, thomas.mertes@xxxxxx <thomas.mertes@xxxxxx> wrote:
It is really fatigueing to plug seed7 as a resolution for inter-compiler
compability if there is only one implementation of seed(n)

I did not plug Seed7 as a solution for incompatible
Pascal dialects

Then for what did you plug it?

To give you a chance to complain about it.

Oh, I thought it was for all your users in this group.

Was already posted.

The next time I will ask for your permission.

Please do.

C has many implementations and the
portability problems which exist in Pascal are simply
not present.

Then find a sleep() in a strictly conforming C compiler!

Surprise you will not find a function like C in a C compiler.

A conforming C compiler is compiler + its std libraries, as they are
specified by the standard.

The C functions are part of a library and not of the compiler.

But a subset of content is specified by the standard.

You won't find it, it is POSIX, not C. (not to forget that even then
there are several, and various implementations have varying units for the
arguments, from ns to seconds)

The sleep's that I know use seconds.
IIRC there is a 'Sleep' under windows which should not be confused with
'sleep'.

I haven't been able to find a lowercase sleep() in msdn.

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

Which is IMHO incorrect. And even if there ever was truth about it, it
ceased after the first half of the eighties.

You obviously did not read the article.

I've read and discussed it many times. It is often brought up by trolls that
fail to set it in its proper historic setting.

You are right that there is currently only one implementation of Seed7,
but this implementation runs on various operating systems (unix, bsd,
linux windows) on different hardware and with several C compilers.

Windows= Windows 32/64/ce ?

Just try it.

If you can't be bothered to specify, I can't be bothered to find, so I
assume win32/x86 only.

.



Relevant Pages

  • Re: pascal equivalent of python "sleep"
    ... A conforming C compiler is compiler + its std libraries, ... I haven't been able to find a lowercase sleep() in msdn. ... linux windows) on different hardware and with several C compilers. ... If you can't be bothered to specify, I can't be bothered to find, so I ...
    (comp.lang.pascal.misc)
  • Re: Stalin ported to Windows.
    ... Therefore, the compiler ... Stalin from Scheme sources; it took six hours to generate the C ...   Junia and Reane  got a working Windows port from the C ...
    (comp.lang.scheme)
  • Re: C++ programming migration from DOS to Windows
    ... compiler, so the current compiler is quite competitive WRT to ... There are a couple of ports of gcc to Windows. ... Comeau is more or less unique: the best language conformance you can ... IDEs: Microsoft and Borland have both produced decent IDEs in the past, ...
    (comp.lang.cpp)
  • RFC: XCall calling convention...
    ... compiler, although what I have implemented thus far differs from this spec ... Arguments are passed on the stack in right-to-left order, ... This will attempt to specify Signature strings as applied to data types. ... reference to type ...
    (alt.lang.asm)
  • Re: Future for VC++ Programmers
    ... bluescreening the system (crash X windows). ... Especially the kind who speak their native language as a second ... I don't want an environment in which the compiler, the linker, and the debugger will, at ...
    (microsoft.public.vc.mfc)