Results 1 to 6 of 6

Thread: Help with simba printonsmart.

  1. #1
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with simba printonsmart.

    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.

  2. #2
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.
    Extinct.

    Formally known as Drags111.

  3. #3
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Could including 2 times be like declaring

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


    is that what you mean?

  4. #4
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.
    Extinct.

    Formally known as Drags111.

  5. #5
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  6. #6
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cheers mate.
    Extinct.

    Formally known as Drags111.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •