replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Daft question re conditional breakpoints in SDBG
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Daft question re conditional breakpoints in SDBG

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
KennyT



Joined: 02 Aug 2005
Posts: 318

PostPosted: Tue Sep 13, 2011 9:19 am    Post subject: Daft question re conditional breakpoints in SDBG Reply with quote

I know that:

< means "less than"
> means "greater than"
== means "equals"

but

what means "does not equal"?

I've tried <> but that doesn't work.

Sorry for asking such a n00b question, but I can't see it in the help!

K
Back to top
View user's profile Send private message Visit poster's website
skeptic



Joined: 22 Mar 2009
Posts: 14

PostPosted: Tue Sep 13, 2011 12:10 pm    Post subject: Reply with quote

Try /=
Back to top
View user's profile Send private message
KennyT



Joined: 02 Aug 2005
Posts: 318

PostPosted: Tue Sep 13, 2011 12:18 pm    Post subject: Re: Reply with quote

skeptic wrote:
Try /=

Thanks...but nope, that doesn't seem to work. Any other ideas?

K
Back to top
View user's profile Send private message Visit poster's website
skeptic



Joined: 22 Mar 2009
Posts: 14

PostPosted: Tue Sep 13, 2011 2:31 pm    Post subject: Reply with quote

I have just tested

IF(X/=Y)THEN
print *,'not equal'
ELSE
print *,'equal'
END IF

It works. Try it again
Back to top
View user's profile Send private message
KennyT



Joined: 02 Aug 2005
Posts: 318

PostPosted: Tue Sep 13, 2011 2:33 pm    Post subject: Re: Reply with quote

skeptic wrote:
I have just tested

IF(X/=Y)THEN
print *,'not equal'
ELSE
print *,'equal'
END IF

It works. Try it again

How did you manage that as a conditional breakpoint in SDBG?

K
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8209
Location: Salford, UK

PostPosted: Tue Sep 13, 2011 2:48 pm    Post subject: Reply with quote

!= works OK for me.
Back to top
View user's profile Send private message AIM Address
KennyT



Joined: 02 Aug 2005
Posts: 318

PostPosted: Tue Sep 13, 2011 3:03 pm    Post subject: Re: Reply with quote

PaulLaidler wrote:
!= works OK for me.

Nope, I still get "stopped" when IEVENT is 10, if I set a conditional break:

IEVENT!=10

BTW, I'm still using FTN v5.5, SDBG v5.4. Is it something that was fixed in v6?

K
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8209
Location: Salford, UK

PostPosted: Tue Sep 13, 2011 7:45 pm    Post subject: Reply with quote

Try

!(k==10)
Back to top
View user's profile Send private message AIM Address
KennyT



Joined: 02 Aug 2005
Posts: 318

PostPosted: Wed Sep 14, 2011 9:18 am    Post subject: Re: Reply with quote

PaulLaidler wrote:
Try

!(k==10)

Caramba! That works, thanks. Very Happy

K
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group