Pascal

This is a discussion on Pascal within the Tech Board forums, part of the Community Boards category; Nope it doesn't matter, i have read that asd and ASD is the same...

  1. #16
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    Nope it doesn't matter, i have read that
    asd and ASD is the same

  2. #17
    </life>
    Join Date
    Oct 2004
    Posts
    83
    I haven't coded pascal for years but i believe keypressed is case sensitive, try KeyPressed and if that fails try keypressed.

    include

    uses crt;

    at the top.
    Microsoft is merely an illusion, albeit a very persistant one.

  3. #18
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    Hey if you mean the code hsould look like this:
    Code:
    Program keyp
    
    begin
    uses crt;
    writeln('Hello World');
    until KeyPressed;
    end.
    cannot compile find an eero at crt!

  4. #19
    </life>
    Join Date
    Oct 2004
    Posts
    83
    Quote Originally Posted by cogeek
    Hey if you mean the code hsould look like this:
    Code:
    Program keyp
    
    begin
    uses crt;
    writeln('Hello World');
    until KeyPressed;
    end.
    cannot compile find an eero at crt!
    No, try this:

    Code:
    Program keyp
    
    uses crt;
    
    begin
    repeat
    writeln('Hello World');
    until KeyPressed;
    end.
    Microsoft is merely an illusion, albeit a very persistant one.

  5. #20
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    still cannot compile!

  6. #21
    </life>
    Join Date
    Oct 2004
    Posts
    83
    Quote Originally Posted by cogeek
    still cannot compile!
    Code:
    Program keyp;
    uses crt;
    
    begin
    repeat
    writeln('Hello World');
    until keypressed;
    end.
    is completely valid and should compile without errors, what errors are you getting?
    Microsoft is merely an illusion, albeit a very persistant one.

  7. #22
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    shoul di add a ; at Program keyp

    at the above you didn't?

  8. #23
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    hey i forgoteed add the ; that why it wasn't working but i got another problem i don't wanna it be repeated but only once?

  9. #24
    </life>
    Join Date
    Oct 2004
    Posts
    83
    yea. use the example above with the semi colon.

    if you are still getting errors, then post your errors otherwise, there's not much people can do. im off the night, so good luck.
    Microsoft is merely an illusion, albeit a very persistant one.

  10. #25
    </life>
    Join Date
    Oct 2004
    Posts
    83
    Look up for loops, and i suggest you read a pascal tutorial like this one
    Microsoft is merely an illusion, albeit a very persistant one.

  11. #26
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    thank for tutor

  12. #27
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    Maybe if you were more careful with your spelling you'd have less problems...

    In my experience people who don't take care to properly use human languages don't take care using programming languages either which leads to a lot of errors.

  13. #28
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Quote Originally Posted by jwenting
    Maybe if you were more careful with your spelling you'd have less problems...

    In my experience people who don't take care to properly use human languages don't take care using programming languages either which leads to a lot of errors.
    may be his primary language is not English..

  14. #29
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Quote Originally Posted by vasanth
    may be his primary language is not English..
    Neither is yours, but it's rare that I have a problem figuring out what you're talking about.

  15. #30
    Bob Dole for '08 B0bDole's Avatar
    Join Date
    Sep 2004
    Posts
    618
    Maybe he's a chronic alcoholic trying to make a living, lay off the man.
    Hmm

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 10-23-2007, 11:02 AM
  2. C & Pascal Help
    By Dragon227Slayer in forum C Programming
    Replies: 4
    Last Post: 12-01-2003, 09:40 AM
  3. Compares C++ and Pascal
    By Jaguar in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 07-19-2002, 12:28 PM
  4. Pascal Compiler
    By (TNT) in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 04-09-2002, 01:57 AM
  5. Pascal "with()" in C++
    By larry in forum C++ Programming
    Replies: 3
    Last Post: 09-27-2001, 03:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21