OmniTrader Forum
-
OmniTrader 2017 Technical Support
OmniScan formula comment stops dynamic list build |
^ Top | ||
SteveL![]() Posts: 262 Joined: 8/19/2005 Location: Boulder, CO ![]() | Barry, In this thread, https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=12313 Tom Helget posted an OmniScan formula. This formula works fine for the daily scan. But I tried using it to "Run current scan dynamically" and got no results. The scan popup appeared, but the progress bar never appeared or advanced. After 30 seconds, the ToDo box reappeared. I started making changes to Tom's formula to debug the problem, and found that the comment he had inserted in the formula was responsible for the failure to build the dynamic list. I removed the comment, and the "Run current scan dynamically" completed successfully, and produced a dynamic scan list. Why does the scan for "today" work okay, but "Run current scan dynamically" fail? Here's the original formula including the comment: ![]() | |
^ Top | ||
Barry Cohen![]() Posts: 6338 Joined: 1/19/2004 ![]() | It seems the dynamic scan feature isn't able to distinguish OmniScript text that is commented out. | |
^ Top | ||
EYEGUY![]() Posts: 1543 Joined: 12/12/2003 Location: BALDWINSVILLE, NEW YORK ![]() | Barry and Steve: Thanks for discovering this problem! I always comment rather complex OmniScans since I have so many and find it helpful if I want to go back months later to modify them. The comment helps me to recall just what I was trying to achieve with the OmniScan. As a matter of fact I was kind of surprised to see that a Daily OmniScan could even be commented when I discovered that ability a very long time ago. Tom Helget |