sinanqd10 Posted July 20, 2016 Share Posted July 20, 2016 Hi guys, Can anyone explain me a little bit of this code why its not working? var a = '141,243,160,1'; this.bmd1.fill(a); //it doesn't work // if this.bmd1.fill(141,243,160,1); it works Link to comment Share on other sites More sharing options...
rich Posted July 20, 2016 Share Posted July 20, 2016 Because the fill function requires 4 arguments, all of them integers, and you've only given it one argument, which is a string. Please adhere to the data types specified in the docs, they are there for a reason in mono 1 Link to comment Share on other sites More sharing options...
Recommended Posts