Spin Semiconductor Forum Index Spin Semiconductor
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

COMPARE PREVIOUS VALUE

 
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> Algorithm development
View previous topic :: View next topic  
Author Message
Mcfly



Joined: 08 Mar 2013
Posts: 45
Location: Argentina

PostPosted: Thu Aug 25, 2016 7:53 am    Post subject: COMPARE PREVIOUS VALUE Reply with quote

Hi, i'm wondering how to code an if fuction. Let's say If the value of a pot is different than its previous value then go to an specific part of the routine.

I tried using the SKP function but it has no such condition (if ACC is not equal as PACC).
Back to top
View user's profile Send private message Send e-mail
frank



Joined: 19 Oct 2005
Posts: 958

PostPosted: Fri Aug 26, 2016 5:16 pm    Post subject: Reply with quote

Subtract them and do a skip on zero so you skip over the change routine.
_________________
Frank Thomson
Experimental Noize
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> Algorithm development All times are GMT - 8 Hours
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