SRL Archive - S.M.A.R.T. Questions and Answers.

Script Error


mikeallen

2013-02-19 15:37:41

Part of my bank function wont compile, need some help please!
 SMART_DrawBoxEx(True,SearchArea,clPurple);          SMART_DrawBoxEx(False,Box,clYellow);       SMART_ClearCanvas;

When i try to compile it fails becuase of this code. Did i need to import something else?

xblazenx

2013-02-19 16:11:52

I sometimes get this error when I try running a script the first, or few 3 times. Try closing out of simba, re-open it and run it. Hopefully that works?

Sjoe

2013-02-19 16:15:06

From: mikeallen
Part of my bank function wont compile, need some help please!
 SMART_DrawBoxEx(True,SearchArea,clPurple);          SMART_DrawBoxEx(False,Box,clYellow);       SMART_ClearCanvas;

When i try to compile it fails becuase of this code. Did i need to import something else?


if the parameters are right (no idea)
but u have to include {$I SRL/SRL/misc/SmartGraphics.simba}