Log in

View Full Version : Quick Question



NEWTOSIMBA
01-22-2012, 08:03 PM
Hello All,

Im in the midst of changing a script around to better satisfy my needs and I was wondering what the new undated ClearCanvas Function is?

So far, I have tried a multitude of different functions from the paintsmart.simba functions but i have had no luck. Also, I have done a forum search and no results. Anyway, the function needs to clear the entire smart window of paint.

Any help is greatly appreciated,

NEWTOSIMBA

x[Warrior]x3500
01-22-2012, 08:39 PM
SMART_ClearCanvas

NEWTOSIMBA
01-22-2012, 08:48 PM
x3500;901877']SMART_ClearCanvas

I tried that and it returns the following error:

[Error] (784:7): Unknown identifier 'SMART_ClearCanvas' at line 783
Compiling failed.

Am I possibly missing a file? Everything is up to date.

x[Warrior]x3500
01-22-2012, 09:02 PM
did u put in a {$i srl/srl/misc/paintsmart.simba} ?

NEWTOSIMBA
01-22-2012, 09:21 PM
x3500;901908']did u put in a {$i srl/srl/misc/paintsmart.simba} ?

Yes I do have that In there.

x[Warrior]x3500
01-22-2012, 09:29 PM
program new;
{$DEFINE SMART}
{$I SRL/SRL.simba}
{$i srl/srl/misc/paintsmart.simba}


begin
Smart_Server := 10;
setupsrl;
SMART_DrawLine(false,point(5,5),point(100,100),966 58);
wait(5000);
SMART_clearcanvas;

end.



this works.