TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: Paul Edwards
from: Frank Malcolm
date: 1997-01-11 12:40:08
subject: OS/2 4.0

Hi, Paul.

PE> FM> As Paul said to you "//" is C++ not Borland. And
you could still use
PE> FM> "/*...*/" as a one-line comment, as you to with
"{...}" in Pascal. But
PE> FM> it's the nestability thing which is such a big advantage. I comment my
PE> FM> code a lot, with {}, and it's just so easy while debugging to surround
PE> FM> some bits you don't want to use in that test with (*...*).

PE> In C, you use #if 0, #endif to mask out large blocks of code.  BFN.  Paul.

OK, that wouldn't be too much trouble and achieve the desired result.
You could {$define test1} {$ifdef test1} ... {$endif} in Pascal too, but
(* ... *) is easier.

Regards, fIM.

 * * Would you like your crow roasted, baked or grilled?
@EOT:

---
* Origin: Pedants Inc. (3:711/934.24)
SEEN-BY: 711/934 712/610
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.