+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-817

Make a keyword for Inifinite Loop Detection

action_vote_minus_faded.png
2
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

According to the EasyLanguage Essentials manual (page 50), TradeStation has a keyword to detect infinite while loops, and give an runtime error after 30 seconds of being stuck in such a loop:
   [InfiniteLoopDetect = True];
In most case, this isn't a problem since the for loop is an alternative, but in some cases a for loop can't be used. It would then be very handy if we can check for inifinte loops and force MultiCharts to break out of it, especially with user input that might cause this loop.

Steps to reproduce this issue

[InfiniteLoopDetect = True];
Variables:
    x(0);
   
while (x < 10) begin
    Print("The value of x is: ", x);
end;
x = x + 1;        // Whoops!

Comments (0)
History
Issue basics
  • Type of issue
    Feature request
  • Category
    Stability
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates