remarking out large amounts of code

remarking out large amounts of code

Anonymous
Not applicable
214 Views
4 Replies
Message 1 of 5

remarking out large amounts of code

Anonymous
Not applicable
I know that you can remark out (or whatever its called) code by placing an
apostrophe at the beginning of a line.

But, is there a way to remark out large blocks of code? I realize i am
probably missing something pretty simple here.

-sean
0 Likes
215 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Hello again. 🙂

If you display the Edit toolbar, you'll find a comment and
uncomment button. Select the block of code you want to
deactivate and press the comment button.

P.S. I know what you mean with the fast clock thing. Now
that my wife has set all the clocks in my house back to
normal, I have a hell of a time getting to the office on
time. But it gets worse: our server *never* has the right
time and all workstations are synchronized to it. Add to
that the clock on the wall of our department doesn't agree
with anything I've yet encountered that morning.

I think I'll buy a sundial.

--
http://www.acadx.com

"Sean Jman" wrote in message
news:43C8135FEF6CD4B2BAC1E9394B0E859B@in.WebX.maYIadrTaRb...
> I know that you can remark out (or whatever its called)
code by placing an
> apostrophe at the beginning of a line.
>
> But, is there a way to remark out large blocks of code? I
realize i am
> probably missing something pretty simple here.
>
> -sean
>
0 Likes
Message 3 of 5

Anonymous
Not applicable
In vb:

#if false then

' all this code is ignored

For i = 0 To 1
With dbf_td(i)
If .Indexes.Count Then
.Indexes.Delete (dbf_IdxName)
If Err.Number Then Err.Clear
End If
End With
Next i

' yep, all the way down to here

#end if

The above will prevent the code from being executed or compiled, but the ide
will still do syntax check etc.

hih.

"Sean Jman" wrote in message
news:43C8135FEF6CD4B2BAC1E9394B0E859B@in.WebX.maYIadrTaRb...
> I know that you can remark out (or whatever its called) code by placing an
> apostrophe at the beginning of a line.
>
> But, is there a way to remark out large blocks of code? I realize i am
> probably missing something pretty simple here.
>
> -sean
>
0 Likes
Message 4 of 5

Anonymous
Not applicable
i knew it was gonna be easy (like a button right in front of me). thanks.

"Sean Jman" wrote in message
news:43C8135FEF6CD4B2BAC1E9394B0E859B@in.WebX.maYIadrTaRb...
> I know that you can remark out (or whatever its called) code by placing an
> apostrophe at the beginning of a line.
>
> But, is there a way to remark out large blocks of code? I realize i am
> probably missing something pretty simple here.
>
> -sean
>
0 Likes
Message 5 of 5

Anonymous
Not applicable
You know,

I heard this question asked at AutoDesk University this past November. The
instructor said that it is something they have been asking for but Microsoft
had not provided it yet! I guess they already have.

Rob

"Sean Jman" wrote in message
news:3F22C83019D356EAE865B8332145ABBF@in.WebX.maYIadrTaRb...
> i knew it was gonna be easy (like a button right in front of me). thanks.
>
> "Sean Jman" wrote in message
> news:43C8135FEF6CD4B2BAC1E9394B0E859B@in.WebX.maYIadrTaRb...
> > I know that you can remark out (or whatever its called) code by placing
an
> > apostrophe at the beginning of a line.
> >
> > But, is there a way to remark out large blocks of code? I realize i am
> > probably missing something pretty simple here.
> >
> > -sean
> >
>
0 Likes