Results 1 to 10 of 12

Thread: noob question about lazarus

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    noob question about lazarus

    hi all,

    I'm a total newb to Pascal and this is my first post on these forums.


    My question is really simple. I've installed Lazarus on my computer with the required extras.

    I'm following a tutorial and the program is supposed to write some lines of text to the screen but nothing appears. What I do get is a box saying execution stopped or something like it.

    Here's the code :

    Code:
    program Kitty_Cat;
    
    begin
       Writeln('This program');
       Writeln('actually does something.');
       Writeln(' hey' );
       readln
    end.
    
    
    
    
    { Result of execution
    
    This program
    actually does something.
    
    }
    sadly the program doesn't do anything.


    Any ideas what I need to do to get the text written to the screen ?

    Thanks for any help.
    Last edited by WILL; 19-12-2010 at 08:56 PM. Reason: Put code into a code block. :)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •