- Subject: Re: Syntax changes
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Sat, 7 Mar 2009 11:41:53 -0500
Peter Krefting <peter@xxxxxxxxxxxxxxxx> wrote:
>> if((()=dupmark())==0){
> mark_buffer();
> ()=dupmark();
> }
The above code does have a syntax error. It should be:
if (0 == dupmark())
{
mark_buffer ();
() = dupmark ();
}
You can also use:
ifnot (markp()) mark_buffer ();
() = dupmark();
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2009 date index]
[2009 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]