Open main menu

CDOT Wiki β

Changes

BTP300 The Only One

913 bytes added, 23:04, 2 November 2011
Bug Fixes
'''4.''' '''Error''':
<img href="http [[Image://postimageAfter.org/image/nyix8autl/"></img> png|widthpx| ]] <br /> '''Fix''': Set This error can be caused in 3 places, either on your hide, capture or draw function ('''CFrame'''class that is) Your functions should look like this: <br /> <span style="color:blue">void</span> hide(CDirectionframe){ restore(absrow(), abscol(), height(), width(), (CDirection)frame, _hiddenChars); release((''' default value <span style="color:green">void**</span>''')&_hiddenChars); } <br /> <span style="color:blue">void</span> capture(){ <span style="color:blue">if</span>(!_hiddenChars) _hiddenChars = '''<span style="color:green">cio</span>'''::capture(absrow(), abscol(), height(), width()); } <span style="color:blue">void</span> CFrame::draw(int draw){ <span style="color:blue">//Sureee, just make sure to use //SetLine to draw your box and //When you're printing your height //Use this </span> <br /> <span style="C_STATIONARYcolor:blue" >for</span>(i = 1; i < height(Told the prof and he fixed it on the BTP300 page)- 1; i++){ <span style="color:blue">//Code Here</span> } <br /> <span style="color:blue">//DON'T FORGET THAT -1 !!!!</span> }
36
edits