Difference between revisions of "Error Messages/42407"

(Created page with "= Example Error Message = Syntax error at line 100 while checking: Function Isequal(param1,param2) ^ Incorrect Class specified. = Cause = This error would most li...")
 
 
Line 1: Line 1:
= Example Error Message =
+
[[Category: Error messages]]
  
 +
== Example error message ==
 +
 +
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 
  Syntax error at line 100 while checking:
 
  Syntax error at line 100 while checking:
  Function Isequal(param1,param2)
+
  Function Isequal(param1, param2)
 
           ^
 
           ^
 
  Incorrect Class specified.
 
  Incorrect Class specified.
 +
</pre>
  
= Cause =
+
== Cause ==
 
+
This error would most likely occur when doing a '''Add Module...''' + '''Merge''' operation when the library/module being imported collides with an object already in memory, but where the two have incompatible types.  For example, suppose there is already a Variable object named <code>Isequal</code>, but the library being loaded contains a [[UDF]] with that name.  When you try to merge the two, there is an obvious incompatibility -- the function isn't going to replace the variable without causing various other problems.  
This error would most likely occur when doing a '''Add Module...''' + '''Merge''' operation when the library/module being imported collides with an object already in memory, but where the two have incompatible types.  For example, suppose there is already a Variable object named ''Isequal'', but the library being loaded contains a [[UDF]] with that name.  When you try to merge the two, there is an obvious incompatibility -- the function isn't going to replace the variable without causing various other problems.  
 
 
 
= Remedy =
 
  
 +
== Remedy ==
 
If you continue, you'll end up with the original class, but the attribute from the file will be imported.  Most likely, not what you want.
 
If you continue, you'll end up with the original class, but the attribute from the file will be imported.  Most likely, not what you want.
  
 
Best to start over, rename the colliding object first, then try the '''Add Module...''' or '''Add Library...''' merge, so that this collision doesn't occur.
 
Best to start over, rename the colliding object first, then try the '''Add Module...''' or '''Add Library...''' merge, so that this collision doesn't occur.
 +
 +
==See Also==
 +
* [[Combining models into an integrated model]]
 +
* [[Modules and Libraries]]
 +
* [[User-Defined Functions]]
 +
* [[Function Parameter Qualifiers]]
 +
* [[Identifier]]
 +
* [[Object_Manipulation_Typescript_Commands#Rename|Rename]]
 +
* [[Data_Type_Functions#Function_TypeOf|TypeOf]]

Latest revision as of 01:03, 12 February 2016


Example error message

 Syntax error at line 100 while checking:
 Function Isequal(param1, param2)
          ^
 Incorrect Class specified.

Cause

This error would most likely occur when doing a Add Module... + Merge operation when the library/module being imported collides with an object already in memory, but where the two have incompatible types. For example, suppose there is already a Variable object named Isequal, but the library being loaded contains a UDF with that name. When you try to merge the two, there is an obvious incompatibility -- the function isn't going to replace the variable without causing various other problems.

Remedy

If you continue, you'll end up with the original class, but the attribute from the file will be imported. Most likely, not what you want.

Best to start over, rename the colliding object first, then try the Add Module... or Add Library... merge, so that this collision doesn't occur.

See Also

Comments


You are not allowed to post comments.