SRL Archive - S.M.A.R.T.

SMART error when running one script (paintsmart.simba)


demon54

2013-01-20 22:42:51

Alright, first I have everything updated. Using SMART8, and recently installed the objectDTM's. Also only one script is giving me an issue but no one has reported it. I am assuming I just missed something when I was setting up the objectDTM's. But the error reads as followed.

[Error] C:\Simba\Includes\SRL\SRL\MISC\Paintsmart.simba(44:33): Unknown identifier 'SmartGetDebugDC' at line 43

When I look at what's causing the error, it looks like that area of Paintsmart.simba is commented out, which made me a bit confused about why it's throwing an error.

The area causing the issue.

(*
SMART_SetupDebug
~~~~~~~~~~~~~~~~

.. code-block:: pascal

procedure SMART_SetupDebug();

Declares the SMART_Canvas bitmap. Does not need to be called in scripts as it's
called in the SMART_ functions automatically.

.. note::

Author: Coh3n
Last Modified: Unknown

Example:

.. code-block:: pascal

if (not SMART_DebugSetup) then
SMART_SetupDebug();
*)

It says line 43 is causing the error but that line is completely blank… Any ideas?

Gucci

2013-01-20 22:54:25

Try searching your error in the search bar next time as there is a solution for this. Check out this

demon54

2013-01-21 00:47:34

Thanks, I actually did search. I must have missed it, sorry.

eenad

2013-01-22 23:01:20

From: demon54
Alright, first I have everything updated. Using SMART8, and recently installed the objectDTM's. Also only one script is giving me an issue but no one has reported it. I am assuming I just missed something when I was setting up the objectDTM's. But the error reads as followed.

[Error] C:\Simba\Includes\SRL\SRL\MISC\Paintsmart.simba(44:33): Unknown identifier 'SmartGetDebugDC' at line 43

When I look at what's causing the error, it looks like that area of Paintsmart.simba is commented out, which made me a bit confused about why it's throwing an error.

The area causing the issue.

(*
SMART_SetupDebug
~~~~~~~~~~~~~~~~

.. code-block:: pascal

procedure SMART_SetupDebug();

Declares the SMART_Canvas bitmap. Does not need to be called in scripts as it's
called in the SMART_ functions automatically.

.. note::

Author: Coh3n
Last Modified: Unknown

Example:

.. code-block:: pascal

if (not SMART_DebugSetup) then
SMART_SetupDebug();
*)

It says line 43 is causing the error but that line is completely blank… Any ideas?


Im getting this same error for an older willow cutting script. I went to the link posted by Gucci, but i couldn't figure it out, can you let me know what you did demon54? Thanks in advanced

Sjoe

2013-01-24 04:33:33

From: eenad
Im getting this same error for an older willow cutting script. I went to the link posted by Gucci, but i couldn't figure it out, can you let me know what you did demon54? Thanks in advanced


Replace PaintSmart with SmartGraphics! Says so on the first line lol