Recent

Author Topic: lazarus run application problem :/  (Read 4469 times)

aiden

  • Newbie
  • Posts: 1
lazarus run application problem :/
« on: April 04, 2009, 11:20:54 am »
Hi
When  compile program and run nothing show effect my program :/

Show window  "execution stopped"

toss 10 seconds movie

http://sabayonlinux.pl/up/tmp/pascal.mkv
« Last Edit: April 04, 2009, 11:25:46 am by aiden »

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2645
Re: lazarus run application problem :/
« Reply #1 on: April 07, 2009, 01:29:52 am »
Thats true. You app simply writes hello and then exits. Your PC can execute that with the blink of an eye. You won't see it.
Put a readln; after it. However, tehn you cannot debug, since lazarus cannot debug console apps.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018