SRL Archive - Help

Quick Question


NEWTOSIMBA

2012-01-22 15:03:59

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

2012-01-22 15:39:09

SMART_ClearCanvas

NEWTOSIMBA

2012-01-22 15:48:16

From: x[Warrior]x3500
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

2012-01-22 16:02:14

did u put in a {$i srl/srl/misc/paintsmart.simba} ?

NEWTOSIMBA

2012-01-22 16:21:38

From: x[Warrior]x3500
did u put in a {$i srl/srl/misc/paintsmart.simba} ?


Yes I do have that In there.

x[Warrior]x3500

2012-01-22 16:29:21


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),96658);
wait(5000);
SMART_clearcanvas;

end.


this works.