papillon121 6 Posted August 24, 2017 Report Share Posted August 24, 2017 Hi, sorry for the probably stupid question but i cant find a "or" function like: Loop whilefile existtest1.txt OR test2.txt i cant find it i find just either and comparsion functions but no "or" function. Best regards! Quote Link to post Share on other sites
HelloInsomnia 1103 Posted August 24, 2017 Report Share Posted August 24, 2017 You can use $either, like so: loop while($either($file exists(#file1),$file exists(#file2))) { } Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted August 24, 2017 Report Share Posted August 24, 2017 if($comparison(#VAR,"= Equals","true") OR $comparison("#VAR 2","= Equals","false")) { then { } else { } } You can also use "AND" like this. But once you do it it is permanent. Just type AND or OR. Regards,CD 1 Quote Link to post Share on other sites
papillon121 6 Posted August 24, 2017 Author Report Share Posted August 24, 2017 thank you very much guys, that helped me out and worked fine! thank you! 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.