View Single Post
  #12 (permalink)  
Old 01-16-2007, 12:11 AM
cockeyedcowboy's Avatar
cockeyedcowboy cockeyedcowboy is offline
Senior Member
 
Join Date: Nov 2005
Posts: 347
cockeyedcowboy is on a distinguished road
Quote:
Originally Posted by Nicholishen
OK, I am successfully adding functions with pointers to libraries, and it works as long as I am passing an array. When I try to do it just referencing a single variable, I does not work in a library but works when the function is in the same source file as the start(). Can anyone advise as to why?
Nick

not sure what you ment by the question just above this post.

I tryed to warn that labrary modules function calls work very differently. You can pass arrays by referance to a library function but not simple varibles they are past by value only. Now if the function is discribed with in an include file, that is the function is totally decleared in the include file not imported into the file it will work just like if it were writen in the main run module. When you use the import comand it changes the way you do things. also If you are useing default values on some of your parameters they will not be reconized accoss modules either.

Hope that helps

The CockeyedCowboy
Reply With Quote