Hello,

I'm very new to Pascal, just wrote 'Hello World', so just a silly question. In the tutorial I'm following now, it said you can put a comment at the top of your program, but in my case, the compiler then crashes (Free Pascal, latest version). Is it me, the compiler, the language or the tutorial?

Thank You.

Recommended Answers

All 2 Replies

It is a bit of me, and a bit of the tutorial. I used ( (bracket), but I should have used { (curly bracket). Couldn't see that very clearly in the tutorial.

Thanks for checking this post anyway.

Member Avatar for Micheus

It is a bit of me, and a bit of the tutorial. I used ( (bracket), but I should have used { (curly bracket).

Maybe You can use brackets. The old Borland Pascal compiler accept bracket from this way:
(* this is a commentary *) like { this is too }

Try it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.