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 Delphi Misc > Re: Pascal, Con...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 12 Topic 5963 of 6138
Post > Topic >>

Re: Pascal, Connect4 Game, 2D Array, display.

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Jan 21, 2008 at 10:55 AM

On 2008-01-20, Hans-Peter Diettrich <DrDiettrich1@[EMAIL PROTECTED]
> wrote:
> israphelr@[EMAIL PROTECTED]
 wrote:
>
>> I have displayed the board on the screen (this is a console
>> application, I am *very* inexperienced with programming and I don't
>> know any graphics at all )
>
> Why don't you use a GUI? In a console window you can output escape 
> sequences to position the cursor, change colors etc.

(only under Unix, or with ansi driver loaded in config.nt). Normal
textmode
IO goes via a special part of the win32 API.

Delphi radically broke (probably deliberately) with the DOS past in this
respect, and doesn't provide any console IO units, like Crt or Graph.

> but don't ask me what escape sequences exist nowadays. Perhaps
FreePascal
> contains according do***entation?

One could probably ****t the FPC Crt unit probably fairly easily (the
win32/win64 edition).

Maybe even the complete FPC vairant of Turbo Vision (called Free Vision,
at
least if Delphi still sup****ts enough of the TP object model), including
mouse selection of menus and popup boxes. Significantly more work, but not
THAT hard, since e.g. getting rid of dosisms and 16-bitisms is already
done.
 




 12 Posts in Topic:
Pascal, Connect4 Game, 2D Array, display.
"israphelr@[EMAIL PR  2008-01-20 14:07:48 
Re: Pascal, Connect4 Game, 2D Array, display.
Rob Kennedy <me3@[EMAI  2008-01-20 17:26:49 
Re: Pascal, Connect4 Game, 2D Array, display.
"israphelr@[EMAIL PR  2008-01-20 15:32:17 
Re: Pascal, Connect4 Game, 2D Array, display.
Rob Kennedy <me3@[EMAI  2008-01-21 01:01:24 
Re: Pascal, Connect4 Game, 2D Array, display.
Hans-Peter Diettrich <  2008-01-21 00:42:27 
Re: Pascal, Connect4 Game, 2D Array, display.
Marco van de Voort <ma  2008-01-21 10:55:51 
Re: Pascal, Connect4 Game, 2D Array, display.
Hans-Peter Diettrich <  2008-01-21 15:49:58 
Re: Pascal, Connect4 Game, 2D Array, display.
Marco van de Voort <ma  2008-01-21 20:08:02 
Re: Pascal, Connect4 Game, 2D Array, display.
Hans-Peter Diettrich <  2008-01-22 00:13:25 
Re: Pascal, Connect4 Game, 2D Array, display.
Marco van de Voort <ma  2008-01-22 07:46:17 
Re: Pascal, Connect4 Game, 2D Array, display.
ap <ap.mail@[EMAIL PRO  2008-01-22 10:49:18 
Re: Pascal, Connect4 Game, 2D Array, display.
Marco van de Voort <ma  2008-01-24 09:57:00 

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 Sep 7 6:46:42 CDT 2008.