F Flyback Well-Known Member Mar 5, 2023 #1 Hi, I want to do the following in LTspice, but it complains about the syntax... V=IF( ((V(comp1)<-1)&(V(gate2) <1)) ,+1 ,-1) ) Do you know how?
Hi, I want to do the following in LTspice, but it complains about the syntax... V=IF( ((V(comp1)<-1)&(V(gate2) <1)) ,+1 ,-1) ) Do you know how?
Tony Stewart Well-Known Member Most Helpful Member Mar 5, 2023 #2 Your brackets are unbalanced Upvote 0 Downvote
Papabravo Well-Known Member Most Helpful Member Mar 5, 2023 #3 Like this. Attachments Draft2.asc 1,015 bytes · Views: 274 Upvote 0 Downvote