Quick Comment Code



Software AG's platform-independent programming language with full support for open-source and Internet applications

Quick Comment Code

Postby newjb » Thu Oct 11, 2012 7:52 pm

I am the only person posting on this site... However, still has been really helpful. Natural must not be used much any more.

Anyways, is there a "quick" way to comment out a huge block of code?

I know you can do line by line --
* USER COMMENT
** USER COMMENT
/* USER COMMENT

http://documentation.softwareag.com/nat ... h_ucom.htm

Say you have 20 lines you want to comment out the entire block quickly.

Is it possible?
newjb
 
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Quick Comment Code

Postby dick scherrer » Thu Oct 11, 2012 11:43 pm

Hello,

I am the only person posting on this site...
Ah, uhh, No . . .

Suggest you look at the amount of traffic across the forum :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Quick Comment Code

Postby newjb » Thu Oct 11, 2012 11:45 pm

Sorry, I meant the Natural forum isn't active??
newjb
 
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Quick Comment Code

Postby dick scherrer » Thu Oct 11, 2012 11:53 pm

Hello,

Yes, the Natural part of the forum is active. Post away!

There aren't so many new people with Natural questions.

Everywhere i've been that uses Adabas/Natural have built their own internal knowledge/support base (or sometimes use Software AG support).

Sometime we have more questions than others. If more peopole knew the forums were available there would probably be more activity.

We are quite fortunate that Ralph checks frequently to respond to Natural queries 8-)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Quick Comment Code

Postby newjb » Thu Oct 11, 2012 11:57 pm

Will do, as it is a huge help to me, Thank you :)

Do you know how to comment out several lines of code at once?
newjb
 
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Quick Comment Code

Postby dick scherrer » Fri Oct 12, 2012 12:46 am

No, but maybe Ralph will be checking soon. Is there nothing in the documentation?

Natural isn't in "my inventory" yet . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Quick Comment Code

Postby RGZbrog » Fri Oct 12, 2012 12:10 pm

The GUI versions (Natural for Windows and NaturalONE (Linux/Unix/Windows)) can do this with two clicks: mark the block of lines + ctrl-m. Unfortunately there is no built-in counterpart in the character-based (i.e. green screen) versions (mainframe and Unix). It is possible to code your own function to do this within the Natural editor, but that's a bit beyond the scope of this forum.

A number of mainframe shops have installed Natural for Windows or NaturalONE to take advantage of the productivity gains offered by the graphical interface. The per-seat cost is not cheap, but it is well worth it, in my opinion. It also helps organizations attract new graduates (who refuse to work with "green screens").
User avatar
RGZbrog
 
Posts: 101
Joined: Mon Nov 23, 2009 1:34 pm
Location: California, USA
Has thanked: 0 time
Been thanked: 0 time

Re: Quick Comment Code

Postby newjb » Fri Oct 12, 2012 2:31 pm

Hello. We do have GUI versions available, however, not installed in our office yet. They say it is very buggie and they don't want to go there yet. However, it has been 2 years now since I started...you would think the bugs may be worked out more now? I will check in to it again.
Thanks again for your help!!
newjb
 
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Has thanked: 3 times
Been thanked: 0 time


Return to Natural

 


  • Related topics
    Replies
    Views
    Last post