Jump to content

pascal programmer?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1
encio

encio

    Newbie

  • Members
  • PipPip
  • 23 posts
anyone here who used pascal before or still using?

I'm having a problem using "CRT" for clearscreen .. i catch this error message saying
"error 200 division by zero"...

anyone know how to fix this problem?

or other way to use the 'clear screen'..

ty guys.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Are you using Turbo Pascal, something else? What's the exact compiler?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
encio

encio

    Newbie

  • Members
  • PipPip
  • 23 posts
im using turbo pascal 7.0... there's no company name if you run the compiler .. but there is an icon in its folder saying "borland pascal"..

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Borland IS the company name. What operating system/hardware are you trying this on? There are some issues with that compiler (VERY old) and modern hardware/operating systems.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
encio

encio

    Newbie

  • Members
  • PipPip
  • 23 posts
im using windows xp... how can i solve this problem? or do you know any library that has clrscreen?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You may need to run it inside a program like DOSBOX.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
mrhbrandi

mrhbrandi

    Newbie

  • Members
  • PipPip
  • 17 posts
Hi,

In DOSBOX it is working fine, have you test it?

#8
encio

encio

    Newbie

  • Members
  • PipPip
  • 23 posts
ohh.. sorry for not giving up updates...

YES!! the Crt works with DOSbox.. thou sometimes DOSbox disables the mouse.. but that is a very small problem.. never the less, it works just fine..

I tried "googling" and look for threads for this problem.. but only WingedPanther gave the correct solution...

so thanks!!!

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The problem is CPU speed. DOSBox corrects for that :)
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog