Hi,
I use CVF 6.6 editor to write Fortran code and want to comment out (put
" ! or C " at the beginning of) hundreds of lines. Is there an easy
way to do that? What I did so far is to put the comment signs line by
line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
simply block the lines that need to be commented out and press CTRL+R
simultaneously. All the blocked lines will be commented out (with %
sign).
Look forward to kind help.
Irfan
|
|
0
|
|
|
|
Reply
|
kisitanggang (72)
|
2/23/2006 5:01:41 PM |
|
kis wrote:
> Hi,
>
> I use CVF 6.6 editor to write Fortran code and want to comment out (put
> " ! or C " at the beginning of) hundreds of lines. Is there an easy
> way to do that? What I did so far is to put the comment signs line by
> line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
> simply block the lines that need to be commented out and press CTRL+R
> simultaneously. All the blocked lines will be commented out (with %
> sign).
>
> Look forward to kind help.
>
> Irfan
>
I don't know the details of your editor, but in the editor
I normally use for Fortran codes (Microsoft Word, sigh) I
usually select the whole area and then do a global replace
of "carriage return" with "carriage return!". Works like
magic, except I usually screw up the first or last line ;(.
There's a similar algorithm for uncommenting.
Dick Hendrickson
|
|
0
|
|
|
|
Reply
|
dick.hendrickson (1286)
|
2/23/2006 5:07:12 PM
|
|
Why do u use MsWord for typing Fortran Code? I hope you don't uset CVF
for writing a document :o)
CVF = Compaq Visual Fortran. I heard they recently replaced it with
Intel.
Cheers,
Irfan
|
|
0
|
|
|
|
Reply
|
kisitanggang (72)
|
2/23/2006 5:14:58 PM
|
|
"kis" <kisitanggang@gmail.com> wrote in message
news:1140714898.565924.240930@i40g2000cwc.googlegroups.com...
> Why do u use MsWord for typing Fortran Code? I hope you don't uset CVF
> for writing a document :o)
>
> CVF = Compaq Visual Fortran. I heard they recently replaced it with
> Intel.
>
> Cheers,
> Irfan
>
Well what editor do you use ? - the answer to your question depends on that
information.
Les
|
|
0
|
|
|
|
Reply
|
l.neilson1 (35)
|
2/23/2006 5:50:46 PM
|
|
>
> Well what editor do you use ? - the answer to your question depends on that
> information.
I use the editor in Compaq Visual Fortran 6.6.
>
> Les
|
|
0
|
|
|
|
Reply
|
kisitanggang (72)
|
2/23/2006 5:55:25 PM
|
|
The following Kedit macro (command) allows one to highlight a
block of lines to be commented (with a leading !). Get Kedit
at: http://www.kedit.com/
:-)
Skip Knoble
if block.1() = 'NONE' then do
'emsg COMMENT ERROR: You forgot to mark a block to be commented.'
exit 1
end
'preserve'
n = line.1()
'zone 1 1'
'all block'
'cinsert !'
'SET = cinsert !'
'repeat *'
'zone 1 *'
'reset block';'reset cmdsel';'reset thighlight'
'all'
'restore'
':'n
On 23 Feb 2006 09:01:41 -0800, "kis" <kisitanggang@gmail.com> wrote:
-|Hi,
-|
-|I use CVF 6.6 editor to write Fortran code and want to comment out (put
-|" ! or C " at the beginning of) hundreds of lines. Is there an easy
-|way to do that? What I did so far is to put the comment signs line by
-|line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
-|simply block the lines that need to be commented out and press CTRL+R
-|simultaneously. All the blocked lines will be commented out (with %
-|sign).
-|
-|Look forward to kind help.
-|
-|Irfan
|
|
0
|
|
|
|
Reply
|
SkipKnobleLESS1 (689)
|
2/23/2006 6:21:06 PM
|
|
Hello, kis,
I'm afraid that I missed the CVF step -- have gone straight from DVF to
IVF. When you make the leap to IVF you will be able to comment blocks
with <Cntl-K>+<Cntl-C> and uncomment them with <Cntl-K>+<Cntl-U>
Cheers,
Randy
kis wrote:
> Why do u use MsWord for typing Fortran Code? I hope you don't uset CVF
> for writing a document :o)
>
> CVF = Compaq Visual Fortran. I heard they recently replaced it with
> Intel.
>
> Cheers,
> Irfan
>
|
|
0
|
|
|
|
Reply
|
scitec (26)
|
2/23/2006 7:56:17 PM
|
|
> kis wrote:
>
> > Hi,
> >
> > I use CVF 6.6 editor to write Fortran code and want to comment out (put
> > " ! or C " at the beginning of) hundreds of lines. Is there an easy
> > way to do that? What I did so far is to put the comment signs line by
> > line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
> > simply block the lines that need to be commented out and press CTRL+R
> > simultaneously. All the blocked lines will be commented out (with %
> > sign).
> >
> > Look forward to kind help.
> >
> > Irfan
> >
> I don't know the details of your editor ...
I think the OP doesn't mean the editor but the C-style:
// this is one comment line
/*
these are
multiple
comment lines
*/
AFAIK FORTRAN has nothing like multiple comment lines ...
Toni
|
|
0
|
|
|
|
Reply
|
AHaumer_gmxnet1 (4)
|
2/23/2006 8:15:33 PM
|
|
"kis" <kisitanggang@gmail.com> wrote in message
news:1140714101.085241.265010@o13g2000cwo.googlegroups.com...
> Hi,
>
> I use CVF 6.6 editor to write Fortran code and want to comment out (put
> " ! or C " at the beginning of) hundreds of lines. Is there an easy
> way to do that?
<home>
<cntl-shift>R
!
<left arrow>
<down arrow>
<cntl-shift>R
....this records a keystroke macro that puts a shriek at the start of the
current line, then moves down one line. Play it back with
<cntl><shift>P
Hold it down to get the keyboard to auto repeat, this will comment-out lines
at your keyboard repeat speed. If you go too far, undo with the * key on the
numeric keypad.
--
Qolin
Email: my qname at domain
Domain: qomputing dot demon dot co dot uk
|
|
0
|
|
|
|
Reply
|
qolin.SEE_SIGNATURE (154)
|
2/23/2006 8:21:01 PM
|
|
Anton Haumer wrote:
>>kis wrote:
>>
>>
>>>Hi,
>>>
>>>I use CVF 6.6 editor to write Fortran code and want to comment out (put
>>>" ! or C " at the beginning of) hundreds of lines. Is there an easy
>>>way to do that? What I did so far is to put the comment signs line by
>>>line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
>>>simply block the lines that need to be commented out and press CTRL+R
>>>simultaneously. All the blocked lines will be commented out (with %
>>>sign).
>>>
>>>Look forward to kind help.
>>>
>>>Irfan
>>>
>>
>>I don't know the details of your editor ...
>
>
> I think the OP doesn't mean the editor but the C-style:
> // this is one comment line
>
> /*
> these are
> multiple
> comment lines
> */
> AFAIK FORTRAN has nothing like multiple comment lines ...
>
> Toni
This is what conditional compilation, as specified in one of the esoteric parts
of the Fortran standard, is explicilty designed to do -- amongst other things.
cheers,
Rich
|
|
0
|
|
|
|
Reply
|
rhdt (1081)
|
2/23/2006 8:23:08 PM
|
|
if it is a large blcok, easiest way is to use the non-standard
!DEC$ IF (.FALSE.)
....
!DEC$ END IF
"Dick Hendrickson" <dick.hendrickson@att.net> wrote in message
news:4ZlLf.810$Zw.458@bgtnsc04-news.ops.worldnet.att.net...
>
>
> kis wrote:
>
> > Hi,
> >
> > I use CVF 6.6 editor to write Fortran code and want to comment out (put
> > " ! or C " at the beginning of) hundreds of lines. Is there an easy
> > way to do that? What I did so far is to put the comment signs line by
> > line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
> > simply block the lines that need to be commented out and press CTRL+R
> > simultaneously. All the blocked lines will be commented out (with %
> > sign).
> >
> > Look forward to kind help.
> >
> > Irfan
> >
> I don't know the details of your editor, but in the editor
> I normally use for Fortran codes (Microsoft Word, sigh) I
> usually select the whole area and then do a global replace
> of "carriage return" with "carriage return!". Works like
> magic, except I usually screw up the first or last line ;(.
>
> There's a similar algorithm for uncommenting.
>
> Dick Hendrickson
>
|
|
0
|
|
|
|
Reply
|
none10 (3389)
|
2/23/2006 9:17:13 PM
|
|
kis wrote:
| Hi,
|
| I use CVF 6.6 editor to write Fortran code and want to comment out (put
| " ! or C " at the beginning of) hundreds of lines. Is there an easy
| way to do that? What I did so far is to put the comment signs line by
| line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
| simply block the lines that need to be commented out and press CTRL+R
| simultaneously. All the blocked lines will be commented out (with %
| sign).
As max already pointed out, the fastest way is
!DEC$IF (.FALSE.)
....
!DEC$ENDIF
however, this doesn't give you visual indication about the "comment", i.e.
the "commented" lines are not green. It's useful when performing "bisection"
debugging though.
You can also record a simple macro, like this one, and assign a key
combination (e.g. Ctrl+!) to it:
Sub PasteColumn()
ActiveDocument.Selection.Paste
ActiveDocument.Selection.CharLeft
ActiveDocument.Selection.LineDown
End Sub
usage: copy one character to clipboard, place the cursor where you
want to put it (e.g. column 1), and hold Ctrl+!. You get a column
filled with that character.
--
Jugoslav
___________
www.xeffort.com
Please reply to the newsgroup.
You can find my real e-mail on my home page above.
|
|
0
|
|
|
|
Reply
|
jdujic (694)
|
2/24/2006 7:58:22 AM
|
|
On Fri, 24 Feb 2006 08:58:22 +0100, "Jugoslav Dujic"
<jdujic@yahoo.com> wrote:
[snip]
>You can also record a simple macro, like this one, and assign a key
>combination (e.g. Ctrl+!) to it:
>
>Sub PasteColumn()
> ActiveDocument.Selection.Paste
> ActiveDocument.Selection.CharLeft
> ActiveDocument.Selection.LineDown
>End Sub
>
>usage: copy one character to clipboard, place the cursor where you
>want to put it (e.g. column 1), and hold Ctrl+!. You get a column
>filled with that character.
Doesn't the editor in the IDE have a block command?
I use IBM Personal Editor. If I need to C out a bunch of lines, I
just mark the first column (using alt-B), then fill (alt-F) with C.
My colleagues who use CVF's IDE tell me that its editor has the same
capability, although the commands would be different.
Ken Plotkin
PS - I son't think PE itself is available any more, but there is a
very nice 32 bit clone called PE32 that's available at a modest cost.
|
|
0
|
|
|
|
Reply
|
kplotkin (368)
|
2/25/2006 6:54:42 PM
|
|
Ken Plotkin wrote:
> On Fri, 24 Feb 2006 08:58:22 +0100, "Jugoslav Dujic"
> <jdujic@yahoo.com> wrote:
>
>
> [snip]
>
>>You can also record a simple macro, like this one, and assign a key
>>combination (e.g. Ctrl+!) to it:
>>
>>Sub PasteColumn()
>> ActiveDocument.Selection.Paste
>> ActiveDocument.Selection.CharLeft
>> ActiveDocument.Selection.LineDown
>>End Sub
>>
>>usage: copy one character to clipboard, place the cursor where you
>>want to put it (e.g. column 1), and hold Ctrl+!. You get a column
>>filled with that character.
>
>
> Doesn't the editor in the IDE have a block command?
>
> I use IBM Personal Editor. If I need to C out a bunch of lines, I
> just mark the first column (using alt-B), then fill (alt-F) with C.
> My colleagues who use CVF's IDE tell me that its editor has the same
> capability, although the commands would be different.
>
> Ken Plotkin
>
> PS - I son't think PE itself is available any more, but there is a
> very nice 32 bit clone called PE32 that's available at a modest cost.
I just add a plugin tool to the CVF IDE. When the VS editor can't do
something I need, I just switch instantly to my plugin editor (kedit).
You can switch back and forth easily and VS will reload the file
automatically when you exit the plugin (I believe that you do need to
ensure that you save the file in VS before calling the plugin).
--
Gary Scott
mailto:garyscott@ev1.net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
Why are there two? God only knows.
If you want to do the impossible, don't hire an expert because he knows
it can't be done.
-- Henry Ford
|
|
0
|
|
|
|
Reply
|
garyscott (569)
|
2/25/2006 7:23:44 PM
|
|
"Ken Plotkin" <kplotkin@nospam-cox.net> wrote in message
news:6l910213imiieo9lcf7hrhe0bltpqtbi60@4ax.com...
> On Fri, 24 Feb 2006 08:58:22 +0100, "Jugoslav Dujic"
> <jdujic@yahoo.com> wrote:
>
>
> [snip]
> >You can also record a simple macro, like this one, and assign a key
> >combination (e.g. Ctrl+!) to it:
> >
> >Sub PasteColumn()
> > ActiveDocument.Selection.Paste
> > ActiveDocument.Selection.CharLeft
> > ActiveDocument.Selection.LineDown
> >End Sub
> >
> >usage: copy one character to clipboard, place the cursor where you
> >want to put it (e.g. column 1), and hold Ctrl+!. You get a column
> >filled with that character.
>
> Doesn't the editor in the IDE have a block command?
The IDE in question is Microsoft's Visual Studio. Clearly it's not to your
liking but it is to countless of others, including your colleagues and
Intel, but then again who are you?: a little shit in a big corner, so eat
it and die, someone else will clean your puky mess!
|
|
0
|
|
|
|
Reply
|
mrhrundivbakshi (123)
|
2/26/2006 6:50:04 AM
|
|
On Sun, 26 Feb 2006 01:50:04 -0500, "Mr Hrundi V Bakshi"
<mrhrundivbakshi@hotmail.com> wrote:
>The IDE in question is Microsoft's Visual Studio. Clearly it's not to your
[snip]
Yeah - that's the one. Doesn't it have a block command built in?
|
|
0
|
|
|
|
Reply
|
kplotkin (368)
|
2/26/2006 7:25:09 AM
|
|
"Ken Plotkin" <kplotkin@nospam-cox.net> wrote in message
news:krl20257gikasq4dufu788srv48c4i9i0t@4ax.com...
> On Sun, 26 Feb 2006 01:50:04 -0500, "Mr Hrundi V Bakshi"
> <mrhrundivbakshi@hotmail.com> wrote:
>
>
> >The IDE in question is Microsoft's Visual Studio. Clearly it's not to
your
> [snip]
>
> Yeah - that's the one. Doesn't it have a block command built in?
Ask a colleague, you might learn something.
|
|
0
|
|
|
|
Reply
|
mrhrundivbakshi (123)
|
2/26/2006 7:37:45 AM
|
|
Mr Hrundi V Bakshi wrote:
> "Ken Plotkin" <kplotkin@nospam-cox.net> wrote in message
> news:krl20257gikasq4dufu788srv48c4i9i0t@4ax.com...
>
>>On Sun, 26 Feb 2006 01:50:04 -0500, "Mr Hrundi V Bakshi"
>><mrhrundivbakshi@hotmail.com> wrote:
>>
>>
>>
>>>The IDE in question is Microsoft's Visual Studio. Clearly it's not to
>
> your
>
>>[snip]
>>
>>Yeah - that's the one. Doesn't it have a block command built in?
>
>
> Ask a colleague, you might learn something.
>
>
Ask a moron, you might learn something.
--
Gary Scott
mailto:garyscott@ev1.net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
Why are there two? God only knows.
If you want to do the impossible, don't hire an expert because he knows
it can't be done.
-- Henry Ford
|
|
0
|
|
|
|
Reply
|
garyscott (569)
|
2/26/2006 8:00:49 AM
|
|
"Gary L. Scott" <garyscott@ev1.net> wrote in message
news:1202o1j4ed8pp76@corp.supernews.com...
[nothing]
When did you last learn anything, if ever? Never mind.
|
|
0
|
|
|
|
Reply
|
mrhrundivbakshi (123)
|
2/26/2006 8:20:04 AM
|
|
Mr Hrundi V Bakshi wrote:
> "Gary L. Scott" <garyscott@ev1.net> wrote in message
> news:1202o1j4ed8pp76@corp.supernews.com...
>
> [nothing]
>
> When did you last learn anything, if ever? Never mind.
>
>
>
I learn things all the time. I've even learned a few things from you.
But I oridinarily try to be a nice guy. You on the other hand, can't
seem to say anything that isn't mean spirited.
--
Gary Scott
mailto:garyscott@ev1.net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
Why are there two? God only knows.
If you want to do the impossible, don't hire an expert because he knows
it can't be done.
-- Henry Ford
|
|
0
|
|
|
|
Reply
|
garyscott (569)
|
2/26/2006 9:03:19 AM
|
|
"Gary L. Scott" <garyscott@ev1.net> wrote in message
news:1202rmph9p7qe3a@corp.supernews.com...
> Mr Hrundi V Bakshi wrote:
>
> > "Gary L. Scott" <garyscott@ev1.net> wrote in message
> > news:1202o1j4ed8pp76@corp.supernews.com...
> >
> > [nothing]
> >
> > When did you last learn anything, if ever? Never mind.
> >
> >
> >
> I learn things all the time. I've even learned a few things from you.
> But I oridinarily try to be a nice guy. You on the other hand, can't
> seem to say anything that isn't mean spirited.
>
Tell you what, why not learn English. 'nice guy', 'mean spirited',
etcetera, etcetera, etcetera, are meaningless cliches. For me, clf is a
gas, a wonderful hilarity that I don't take as seriously as you, and IMNSHO
neither should anyone else. It's a burlesque, a sewing club, in short, a
joke, with maine, giles, metcalf, etc, as chief jesters all: lots of
laughs, gossip, chitchat, but at the end of the day, nothing, rather like a
Wind-in the-Willows day on the river, swimming, splashing about,
picnicking, and all, ...
--
Hope you've learned,
Mr Hrundi V. Bakshi
______
"As a native of the snow belt of upstate New York, I too claim the feisty
independence of the Northerner. I was raised, I like to say, breathing
cold, clear Canadian air." Camille Paglia.
|
|
0
|
|
|
|
Reply
|
mrhrundivbakshi (123)
|
2/26/2006 9:46:53 AM
|
|
Mr Hrundi V Bakshi wrote:
> "Gary L. Scott" <garyscott@ev1.net> wrote in message
> news:1202rmph9p7qe3a@corp.supernews.com...
>
>>Mr Hrundi V Bakshi wrote:
>>
>>
>>>"Gary L. Scott" <garyscott@ev1.net> wrote in message
>>>news:1202o1j4ed8pp76@corp.supernews.com...
>>>
>>>[nothing]
>>>
>>>When did you last learn anything, if ever? Never mind.
>>>
>>>
>>>
>>
>>I learn things all the time. I've even learned a few things from you.
>>But I oridinarily try to be a nice guy. You on the other hand, can't
>>seem to say anything that isn't mean spirited.
>>
>
>
> Tell you what, why not learn English. 'nice guy', 'mean spirited',
> etcetera, etcetera, etcetera, are meaningless cliches. For me, clf is a
> gas, a wonderful hilarity that I don't take as seriously as you, and IMNSHO
> neither should anyone else. It's a burlesque, a sewing club, in short, a
> joke, with maine, giles, metcalf, etc, as chief jesters all: lots of
> laughs, gossip, chitchat, but at the end of the day, nothing, rather like a
> Wind-in the-Willows day on the river, swimming, splashing about,
> picnicking, and all, ...
>
Hopefully, this outburst represents the last gasp before senility finally
commits you to the cheap nursing home where you belong. Honestly, Gerry; stop
pissing yourself in front of the world, it does you no favours. Just go off and
enjoy your retirement somewhere else, the world has moved on and you no longer
matter.
cheers,
Rich
|
|
0
|
|
|
|
Reply
|
rhdt (1081)
|
2/26/2006 1:53:58 PM
|
|
"Rich Townsend" <rhdt@barVOIDtol.udel.edu> wrote in message
news:dtsbtj$n2p$1@scrotar.nss.udel.edu...
> Mr Hrundi V Bakshi wrote:
> > "Gary L. Scott" <garyscott@ev1.net> wrote in message
> > news:1202rmph9p7qe3a@corp.supernews.com...
> >
> >>Mr Hrundi V Bakshi wrote:
> >>
> >>
> >>>"Gary L. Scott" <garyscott@ev1.net> wrote in message
> >>>news:1202o1j4ed8pp76@corp.supernews.com...
> >>>
> >>>[nothing]
> >>>
> >>>When did you last learn anything, if ever? Never mind.
> >>>
> >>>
> >>>
> >>
> >>I learn things all the time. I've even learned a few things from you.
> >>But I oridinarily try to be a nice guy. You on the other hand, can't
> >>seem to say anything that isn't mean spirited.
> >>
> >
> >
> > Tell you what, why not learn English. 'nice guy', 'mean spirited',
> > etcetera, etcetera, etcetera, are meaningless cliches. For me, clf is a
> > gas, a wonderful hilarity that I don't take as seriously as you, and
IMNSHO
> > neither should anyone else. It's a burlesque, a sewing club, in short,
a
> > joke, with maine, giles, metcalf, etc, as chief jesters all: lots of
> > laughs, gossip, chitchat, but at the end of the day, nothing, rather
like a
> > Wind-in the-Willows day on the river, swimming, splashing about,
> > picnicking, and all, ...
> >
>
> Hopefully, this outburst represents the last gasp before senility finally
> commits you to the cheap nursing home where you belong. Honestly, Gerry;
stop
> pissing yourself in front of the world, it does you no favours. Just go
off and
> enjoy your retirement somewhere else, the world has moved on and you no
longer
> matter.
To your demise and my delight, I'm in my prime and will continue to thwart
you and your ilk for eons to come. So whose this gerry guy you continually
allude to?, do you mean gary ? I's he/she a creation of your psychotic
state? Come, come, Mr Townsend, you've been skipping your meds again, eh!
Perhaps unlike this 'gerry' of your fantasy, this gary creature is
interested in meeting your voyeuristic come-ons to coffee in NY, London,
Paris, Toronto, (or god forbid, a Delaware latrine, truck stop, reserve, or
what?). No one in their right mind would fall for this ploy, and only an
idiot like you would do so. You're a sicko in desperate need of help and
you ought to be reined in as a homeland security threat. You Richard Henry
Denny Townsend, a 'Limited Term Researcher' at udel's Bartol Research
continue to be a latent time bomb, reminiscent of the Concordia massacre,
Columbine, McVey, Unabomber, etc., and ought to be shipped to Guantanamo
forthwith.
__
All the best,
Mr. Hrundi V. Bakshi
ps. When are visiting days? Shall I bring bananas, seems appropriate, what
ho!
"Ah, Klinger, my constant reminder that Darwin was right!." -- Maj Charles
Winchester III, the 4077th M*A*S*H
|
|
0
|
|
|
|
Reply
|
mrhrundivbakshi (123)
|
2/26/2006 3:27:50 PM
|
|
Mr Hrundi V Bakshi wrote:
> "Rich Townsend" <rhdt@barVOIDtol.udel.edu> wrote in message
> news:dtsbtj$n2p$1@scrotar.nss.udel.edu...
>
>>Mr Hrundi V Bakshi wrote:
>>
>>>"Gary L. Scott" <garyscott@ev1.net> wrote in message
>>>news:1202rmph9p7qe3a@corp.supernews.com...
>>>
>>>
>>>>Mr Hrundi V Bakshi wrote:
>>>>
>>>>
>>>>
>>>>>"Gary L. Scott" <garyscott@ev1.net> wrote in message
>>>>>news:1202o1j4ed8pp76@corp.supernews.com...
>>>>>
>>>>>[nothing]
>>>>>
>>>>>When did you last learn anything, if ever? Never mind.
>>>>>
>>>>>
>>>>>
>>>>
>>>>I learn things all the time. I've even learned a few things from you.
>>>>But I oridinarily try to be a nice guy. You on the other hand, can't
>>>>seem to say anything that isn't mean spirited.
>>>>
>>>
>>>
>>>Tell you what, why not learn English. 'nice guy', 'mean spirited',
>>>etcetera, etcetera, etcetera, are meaningless cliches. For me, clf is a
>>>gas, a wonderful hilarity that I don't take as seriously as you, and
>
> IMNSHO
>
>>>neither should anyone else. It's a burlesque, a sewing club, in short,
>
> a
>
>>>joke, with maine, giles, metcalf, etc, as chief jesters all: lots of
>>>laughs, gossip, chitchat, but at the end of the day, nothing, rather
>
> like a
>
>>>Wind-in the-Willows day on the river, swimming, splashing about,
>>>picnicking, and all, ...
>>>
>>
>>Hopefully, this outburst represents the last gasp before senility finally
>>commits you to the cheap nursing home where you belong. Honestly, Gerry;
>
> stop
>
>>pissing yourself in front of the world, it does you no favours. Just go
>
> off and
>
>>enjoy your retirement somewhere else, the world has moved on and you no
>
> longer
>
>>matter.
>
>
> To your demise and my delight, I'm in my prime
What, like Miss Jean Brodie?
and will continue to thwart
> you and your ilk for eons to come.
For someone who claims to know the English language, you should be aware that
this cliched use of 'ilk' is completely wrong.
> So whose this gerry guy you continually
> allude to?, do you mean gary ? I's he/she a creation of your psychotic
> state? Come, come, Mr Townsend, you've been skipping your meds again, eh!
> Perhaps unlike this 'gerry' of your fantasy, this gary creature is
> interested in meeting your voyeuristic come-ons to coffee in NY, London,
> Paris, Toronto, (or god forbid, a Delaware latrine, truck stop, reserve, or
> what?).
Gerald F. Thomas, one-time resident of Toronto, CA, worked for Ontario Hydro I
believe. Has a history of posting racist, homophobic, prurient, abusive,
threatening screeds to comp.lang.fortran. Probably the newsgroups biggest kook,
and almost certainly mentally ill. Posts under the pseudonym Hrundi V Bakshi
(the name of a Peter Sellers character), but appears unable to properly forge
his NNTP headers to make this sock-puppeting work. Also, his language style --
replete with gross delusions of eloquency -- is a dead giveaway. A wholly
inadequate man who yaps, cur-like, at the heels of his betters.
No one in their right mind would fall for this ploy, and only an
> idiot like you would do so.
So speaks the man who is brave from behind his keyboard.
> You're a sicko in desperate need of help and
> you ought to be reined in as a homeland security threat. You Richard Henry
> Denny Townsend, a 'Limited Term Researcher' at udel's Bartol Research
> continue to be a latent time bomb, reminiscent of the Concordia massacre,
> Columbine, McVey, Unabomber, etc., and ought to be shipped to Guantanamo
> forthwith.
Enough of me, how about you? How are your meds working out?
cheers,
Rich
|
|
0
|
|
|
|
Reply
|
rhdt (1081)
|
2/26/2006 4:08:06 PM
|
|
"Rich Townsend" <rhdt@barVOIDtol.udel.edu> wrote in message
news:dtsjp4$pbu$1@scrotar.nss.udel.edu...
Salutations, Mr Townsend:
>
> What, like Miss Jean Brodie?
>
I'm in my prime, I guess your not, so fantasize all you like about Jean or
in your case Joh
>
> Gerald F. Thomas, one-time resident of Toronto, CA, worked for Ontario
Hydro
There's a multitude of Gerald F. Thomas's in the GTA who worked for Ontario
Hydro (they make water or what?) and I'm not among them. Which one are you
referring to or do you want a class action suit against UDEL and you to
identify your slanderous remarks. We' (the united against UDEL and its
part-time employees GTA GFT's) are in, how about UDEL and you?
> Enough of me,
Yes, we've had about as much of you as one can stomach.
__
Mr Hrundi V. Bakshi
ps Try to have a nice weekend, :-). Bet you can't!
|
|
0
|
|
|
|
Reply
|
mrhrundivbakshi (123)
|
2/26/2006 5:27:13 PM
|
|
Mr Hrundi V Bakshi wrote:
> "Rich Townsend" <rhdt@barVOIDtol.udel.edu> wrote in message
> news:dtsjp4$pbu$1@scrotar.nss.udel.edu...
>
> Salutations, Mr Townsend:
>
>>What, like Miss Jean Brodie?
>>
>
> I'm in my prime, I guess your not, so fantasize all you like about Jean or
> in your case Joh
>
>>Gerald F. Thomas, one-time resident of Toronto, CA, worked for Ontario
>
> Hydro
>
> There's a multitude of Gerald F. Thomas's in the GTA who worked for Ontario
> Hydro (they make water or what?) and I'm not among them.
Whatever.
Which one are you
> referring to or do you want a class action suit against UDEL and you to
> identify your slanderous remarks. We' (the united against UDEL and its
> part-time employees GTA GFT's) are in, how about UDEL and you?
>
It's only slander if it's
a) not true.
and
b) directed against a real person.
Since you, Hrundi, are a Peter Sellers character -- and not a real person -- I
cannot fall foul of (b). Since I can back up every single one of my accusations
through reference to specific posts -- kindly archived by Google -- that were
made by one Gerald F Thomas, I cannot fall foul of (a).
In fact, if there's been any slander, it lies with you; I can point to dozens of
posts where you/Gerry have slandered myself and other, real people.
On a final note, all remarks I post to this forum are my opinion, and not those
of my employer. I don't need any backup from UDel to stand by my own remarks.
>
> ps Try to have a nice weekend, :-). Bet you can't!
>
I already have, thank you!
cheers,
Rich
|
|
0
|
|
|
|
Reply
|
rhdt (1081)
|
2/26/2006 8:04:11 PM
|
|
Mr Hrundi V Bakshi wrote:
> "Gary L. Scott" <garyscott@ev1.net> wrote in message
> news:1202rmph9p7qe3a@corp.supernews.com...
>
>>Mr Hrundi V Bakshi wrote:
>>
>>
>>>"Gary L. Scott" <garyscott@ev1.net> wrote in message
>>>news:1202o1j4ed8pp76@corp.supernews.com...
>>>
>>>[nothing]
>>>
>>>When did you last learn anything, if ever? Never mind.
>>>
>>>
>>>
>>
>>I learn things all the time. I've even learned a few things from you.
>>But I oridinarily try to be a nice guy. You on the other hand, can't
>>seem to say anything that isn't mean spirited.
>>
>
>
> Tell you what, why not learn English. 'nice guy', 'mean spirited',
> etcetera, etcetera, etcetera, are meaningless cliches. For me, clf is a
> gas,
What is clf?
|
|
0
|
|
|
|
Reply
|
bogle (300)
|
2/26/2006 9:12:54 PM
|
|
Gib Bogle wrote:
>
> What is clf?
I understand it stands for certified lunixed freeloaders club ala
Townsent et al...
|
|
0
|
|
|
|
Reply
|
kia (104)
|
2/26/2006 9:21:26 PM
|
|
kis wrote:
> Hi,
>
> I use CVF 6.6 editor to write Fortran code and want to comment out (put
> " ! or C " at the beginning of) hundreds of lines. Is there an easy
> way to do that? What I did so far is to put the comment signs line by
> line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
> simply block the lines that need to be commented out and press CTRL+R
> simultaneously. All the blocked lines will be commented out (with %
> sign).
>
> Look forward to kind help.
>
> Irfan
I am aware of at least three non-standard pre-processor command formats
(C, DEC, Salford).
Is there anything proposed, or implemented, in the standards ?
Dave Flower
|
|
0
|
|
|
|
Reply
|
DavJFlower (306)
|
2/27/2006 9:12:37 AM
|
|
Hello,
David Flower wrote:
<snip>
> I am aware of at least three non-standard pre-processor command formats
> (C, DEC, Salford).
>
> Is there anything proposed, or implemented, in the standards ?
Part 3 of the Fortran standard defines a CoCo preprocessor.
It's optional, and usually not shipped with compilers.
Compilers comply with Part 1.
--
Cheers!
Dan Nagle
Purple Sage Computing Solutions, Inc.
|
|
0
|
|
|
|
Reply
|
dannagle (1019)
|
2/27/2006 11:36:58 AM
|
|
Ken Plotkin wrote:
| On Fri, 24 Feb 2006 08:58:22 +0100, "Jugoslav Dujic"
| <jdujic@yahoo.com> wrote:
|
|
| [snip]
|| You can also record a simple macro, like this one, and assign a key
|| combination (e.g. Ctrl+!) to it:
||
|| Sub PasteColumn()
|| ActiveDocument.Selection.Paste
|| ActiveDocument.Selection.CharLeft
|| ActiveDocument.Selection.LineDown
|| End Sub
||
|| usage: copy one character to clipboard, place the cursor where you
|| want to put it (e.g. column 1), and hold Ctrl+!. You get a column
|| filled with that character.
|
| Doesn't the editor in the IDE have a block command?
It has (Ctrl+Shift+F8 or Alt+Mouse), but AFAIK it has not a "fill"
command (at least, I didn't find it).
--
Jugoslav
___________
www.xeffort.com
Please reply to the newsgroup.
You can find my real e-mail on my home page above.
|
|
0
|
|
|
|
Reply
|
jdujic (694)
|
2/27/2006 12:26:48 PM
|
|
"Ken Plotkin" <kplotkin@nospam-cox.net> wrote in message
news:6l910213imiieo9lcf7hrhe0bltpqtbi60@4ax.com...
> On Fri, 24 Feb 2006 08:58:22 +0100, "Jugoslav Dujic"
> <jdujic@yahoo.com> wrote:
>
>
> [snip]
>
> Doesn't the editor in the IDE have a block command?
>
There isn't an option that I could find under Visual Studio 6 but .NET 2003
(and presumably 5) has it under Edit->Advanced->Comment Selection
Les
|
|
0
|
|
|
|
Reply
|
l.neilson1 (35)
|
2/27/2006 2:11:07 PM
|
|
David Flower wrote:
> kis wrote:
>
>>Hi,
>>
>>I use CVF 6.6 editor to write Fortran code and want to comment out (put
>>" ! or C " at the beginning of) hundreds of lines. Is there an easy
>>way to do that? What I did so far is to put the comment signs line by
>>line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
>>simply block the lines that need to be commented out and press CTRL+R
>>simultaneously. All the blocked lines will be commented out (with %
>>sign).
>>
>>Look forward to kind help.
>>
>>Irfan
>
>
> I am aware of at least three non-standard pre-processor command formats
> (C, DEC, Salford).
>
> Is there anything proposed, or implemented, in the standards ?
>
> Dave Flower
>
Most Fortran compilers include a built-in compile flag for a C
preprocessor. This allows you to comment out a large block with:
#if 0
....
#endif
For inserting actual Fortran comments, you could use gVim: highlight a
block, then do :s/^/!/
which means substitute beginning-of-line with '!'. The beginning-of-line
is zero-width, so it;s really an insert.
COCO is an 'official' preprocessor, an actual ISO standard. However, it
never has caught on, probably because the C preprocessor (in traditional
mode) was already very common. Also, the are several FPP's, which are
just C preprocessors that are better at handling Fortran source.
There is also a Perl-based preprocessor, fpx3. It is overkill for most
users, but can also do simple cpp-like code exclusions.
Joe
|
|
0
|
|
|
|
Reply
|
krahn (74)
|
2/27/2006 7:52:58 PM
|
|
kis wrote:
> I use CVF 6.6 editor to write Fortran code and want to comment out (put
> " ! or C " at the beginning of) hundreds of lines. Is there an easy
> way to do that? What I did so far is to put the comment signs line by
> line; very tedious and time consuming. FYI, in MATLAB (6.0 or higher),
> simply block the lines that need to be commented out and press CTRL+R
> simultaneously. All the blocked lines will be commented out (with %
> sign).
I am not familiar with that editor, but many (if not all) good
editors allow a regular expression search-and-replace in a
marked block. So mark the block and add "!" to the start of
each line.
In my editor (which also accepts line commands), I would just
type
c/^/!/rm
To remove, mark the block and do the reverse.
Time spent learning an editor's advanced features is usually
time well spent.
I agree that it is handy in any language to be able to comment a
block, rather than line by line, but it is not generally
possible in Fortran.
Good luck.
--
Mike Prager, NOAA, Beaufort, NC
Address spam-trapped; remove color to reply.
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.
|
|
0
|
|
|
|
Reply
|
Mike.Prager.indigo (210)
|
2/27/2006 8:21:07 PM
|
|
|
33 Replies
50 Views
(page loaded in 0.936 seconds)
Similiar Articles: Making View as Table user friendly - comp.databases.filemaker ...So far the only way seems to be to put buttons in the footer ... I have realised that I needed an easy way for users ... matrix - comp.databases.oracle.server... comments in ... gettg rid of the white box!!!! - comp.graphics.apps.paint-shop-pro ...Matlab 7 uitable questions - comp.soft-sys.matlab Another related question : Is there a way of getting rid of the row number ... gettg rid of the white box!!!! - comp ... How to write a degree sign - comp.lang.fortran... write(*,'(f5.1,a)')AT,char(248)//'C' works in CVF 6.6 ... Is there a consistent, cross-platform way to get the ... about the specific misinformation; the other comments in ... Create Multiple Users on Solaris 10 - comp.unix.solarisFinally you need a way to put the password into the shadow ... (Constructive comments and improvement suggestions always ... It is easy to write a small PAM ap that you ... Generate a CRUD matrix - comp.databases.oracle.serverGetting a list off tables etc is easy ... elements parsing directly, put in table ... You'd have to have a way to find beginning and ending of comments. Enhancing Readability of Text Image, Best Way? - comp.graphics ...I'm assuming from your comment about OCR software that ... Can you describe the dirt, or better yet put a ... fhiltz at yahoo dot com > C-Tech volunteer > An easy way ... Image processing ,Image segmentation - comp.soft-sys.matlab ...... If you want to measure "circularity" one easy way would be ... count the overlapped cells... Thats my idea..Plz comment ... Cant we combine both in a single code and put a ... Sun v40z + 64bit Windows - comp.unix.solaris... prompting nobody to put in an effort to make 64-bit plugins. They should all take cues from Darwin that in many cases, its quite easy to ... My comments are more related to ... SuperKISS for 32- and 64-bit RNGs in both C and Fortran. - comp ...... but in C, with 64-bit x,c there seems no easy way to form ... See text and comments from the Nov 3 posting. I am ... do i=1 to 1000000000; x=KISS32(); end; put skip ... How tu use multivalent pdf tools - comp.text.pdf... jar tool.XXX [options] files A third way is to put ... It's easy to arrange pages and rotations for booklets. ... Inserting comments into PDF stream - how? - comp.text.pdf ... bitmap as array - comp.graphics.api.openglAny comments will be much > appreciated. Ivan. That's no ... 14 15 16 9 10 11 12 5 6 7 8 1 2 3 4 It should be easy ... that it should arrange multilinear arrays in a way ... IPv6: Static IP and default gateway possible? - comp.unix.solaris ...Is there not a way to manually configure a static v6 IP address and a v6 default gateway route? ... Any comments or suggestions would be most ... Linking consistency check - comp.lang.c++.moderatedAny compiler implementor like to comment? This might ... incompatible types with the same name is to put ... lang.c++.moderated Errrors while debugging in Compaq Visual Fortran ... Login as root via Telnet - comp.unix.solarisHi, look in /etc/default/console and comment out ... the root directory. > > They're starting to put ... Maybe the terms "hard" and "easy" aren't the best way to describe this. Swing uses bad features - comp.lang.java.gui... one thing javadoc could use is a uniform and easy way to separate the main body of a method or class comment into ... It's not yet done as I will still put other features Easy Way to Put Comment Widgets on Your Blog | Reach Beyond LimitsEasy Ways to Put Comment Widget on Blog; What is Google Page Rank or Google Analytics; Learn to Increase Blog Traffic; Five Easy Ways to Build Quality Backlinks How to Put a Title With a Picture on Tumblr | eHow.comeHow; Internet; Blogging; Blogs Comments; How to Put a Title With a Picture on Tumblr ... Tumblr's slogan is "The easiest way to blog." The microblogging site aims to ... 7/28/2012 1:28:18 PM
|