SRL Archive - Help

Help with simba printonsmart.


laakerules

2012-01-29 17:17:19

Okay im trying to print on smart but the actual print on smart file is messed up or something.

im getting
[Error] C:\Simba\Includes\SRL/SRL/misc/paintsmart.simba(12:3): Duplicate identifier 'SMART_Canvas' at line 11
Compiling failed.


And yes i know that supposedly there is a duplicate identifier but heres the lines

var
SMART_Canvas: TBitmap;
SMART_DebugSetup: Boolean;

No duplicate by my standards.

Drakan

2012-01-29 17:30:06

It should work out of the box. Are you sure you only included the file once? I am currently using it in my work and it was working fine on a fresh install.

laakerules

2012-01-29 17:38:16

Could including 2 times be like declaring

{$DEFINE SRL5}
and also
{$i SRL/SRL/misc/paintsmart.simba}


is that what you mean?

Drakan

2012-01-29 17:41:16

I havnt checked if SRL 5 automatically includes the paintsmart file automatically so that's something to check on (I'm on my phone away from home).

EDIT:
Post your script in code tags so we can take a look at it.

laakerules

2012-01-29 17:46:31

Lol i just tried doing it with removing the print on smart and it worked! :P

Drakan

2012-01-29 17:54:27

;) cheers mate.