Beginner needs help

Nicola Girardi girardi at keycomm.it
Mon Jan 1 01:13:00 CET 1996


> Nicola Girardi wrote:
> > for example, i need something as "delay(milliseconds)" but
> > i can't find anything similar. ok, in C, i'd use "usleep()",
> > but what in Pascal?
> 
> Program Foo;
> 
> uses
>   Crt;
> 
> begin
>   Delay ( 42 )
> end.
> 
> > and, for example, again, "textcolor and textbackground" ?
> 
> Program Foo;
> 
> uses
>   Crt;
> 
> begin
>   TextColor ( yellow );
>   TextBackground ( blue );
>   writeln ( 'Hello, world!' )
> end.
> 
> > readkey? keypressed?
> 
> Guess what.  (Hint: `uses Crt';-)

hehe :)
you're telling me to use Crt like i used to under DOS.
but the compiler tells me that it can't find the module "crt"

what should i do?

> 
> > and how to use Svgalib instead os DOS' BGI ?
> 
> On our web site (http://home.pages.de/~GNU-Pascal/) look out for
> GRX and BGI2GRX.  This will provide both a BGI-style interface
> and a completely new interface to portable graphics for SVGAlib,
> X11, plain DOS, or whatever.

great! thanks alot

-- 
Nicola Girardi                               girardi(at)keycomm.it
Key fingerprint = CD 7D 57 C2 52 73 67 B5  13 48 AA 8C 3E 7F 13 DC




More information about the Gpc mailing list