+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_stroke.svg
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-223

Incorrect string manipulation

minus.svg
Please log in to vote
0
Votes
pluse.svg
Please log in to vote
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

The following simple code produces an incorrect output as follows:
1 2 3 4 5 6 7 8 9 100 1 2
The last two numbers are incorrect.

Steps to reproduce this issue

variables:
    lineout("");
value1 = 1;
value2 = 2;
value3 = 3;
value4 = 4;
value5 = 5;
value6 = 6;
value7 = 7;
value8 = 8;
value9 = 9;
value10 = 100;
value11 = 35;
value12 = 46;
if LastBarOnChart_s then begin
    lineout = NumToStr(value1,0)+" "+NumToStr(value2,0)+" "+NumToStr(value3,0)+ " "+NumToStr(value4,0)+
    " "+NumToStr(value5,0)+" "+NumToStr(value6,0)+" "+NumToStr(value7,0)+" "+NumToStr(value8,0)+
    " "+NumToStr(value9,0)+" "+NumToStr(value10,0)+" "+NumToStr(value11,0)+" "+NumToStr(value12,0);
    print (lineout);
end;

Comments (0)
History
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    MultiCharts 7.0 (RELEASED)
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
  • Posted by
    user-offline.png  janus
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    1 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
Commits (0)
There are no code checkins for this issue