DanTran Posted March 15, 2018 Posted March 15, 2018 Hi, my Func ScanForSpur($SpurFreqStart, $SpurFreqStop) works fine alone, but being treated by AutoIT compiler as a For loop without terminated with a Next statement. Can anyone help? Attached are my codes.MT8212E - KratoNB - Spur.au3
DanTran Posted March 15, 2018 Author Posted March 15, 2018 "D:\IT\Autoit\AutoIt Macro\Anritsu Cell Master MT8212E\MT8212E - KratoNB - Spur.au3" (298) : ==> "For" statement has no matching "Next" statement.: Func ScanForSpur($SpurFreqStart, $SpurFreqStop) >Exit code: 1 Time: 0.4639
Moderators JLogan3o13 Posted March 15, 2018 Moderators Posted March 15, 2018 Moved to the appropriate forum. No one seems able to read the notice on the DEV forum: Quote Do not create AutoIt-related topics here, use AutoIt General Help and Support "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
ripdad Posted March 16, 2018 Posted March 16, 2018 Quick glance... Move Next at line 383 to line 295 ? Bilgus 1 "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward
DanTran Posted March 16, 2018 Author Posted March 16, 2018 Thank you ripdad. It was my mistake. I forgot that a function Func () can only be created once. It cannot be in any repetitive loop. My automation scrip is working flawlessly. Dan
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now