

|
 |
| << 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:
|
"israphelr@[EMAIL PR |
2008-01-20 14:07:48 |
|
Rob Kennedy <me3@[EMAI |
2008-01-20 17:26:49 |
|
"israphelr@[EMAIL PR |
2008-01-20 15:32:17 |
|
Rob Kennedy <me3@[EMAI |
2008-01-21 01:01:24 |
|
Hans-Peter Diettrich < |
2008-01-21 00:42:27 |
|
Marco van de Voort <ma |
2008-01-21 10:55:51 |
|
Hans-Peter Diettrich < |
2008-01-21 15:49:58 |
|
Marco van de Voort <ma |
2008-01-21 20:08:02 |
|
Hans-Peter Diettrich < |
2008-01-22 00:13:25 |
|
Marco van de Voort <ma |
2008-01-22 07:46:17 |
|
ap <ap.mail@[EMAIL PRO |
2008-01-22 10:49:18 |
|
Marco van de Voort <ma |
2008-01-24 09:57:00 |
|
Post A Reply:

|
|
|
|