Igor procedures created on Windows not working on MacOS

I have written many procedures on Windows version. I want to use them in MacOS as well. So I just copied the procedures on respective directories (IgorPro Folder, IgorPro User Folder), but they result in error and does not compile. Can anyone help me, what I need to do? Do the procedures work differently on MacOS and Windows?
Nearly all procedure code works as well on windows as on MacOSX.

Can you post the exact error message?
What MacOSX/Windows/Igor Pro version are you using?
The Igor "Procedure Folder" and "User Procedure" folders are identical in two systems (MacOSX and Windows 7). In windows everything work just fine, but not in MacOSX.
There are four folders you need to check: the User Procedures folder and the Igor Procedures folder in both the Igor Pro folder (the installation folder) and the Igor User Files folder.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
Thanks John! I copied things only to Igor installation folder. I will check the User folder as well. Unfortunately I cannot check my Windows computer immediately.
Execute this for background information that all Igor users need to understand:
DisplayHelpTopic "Special Folders"

Even though all four Procedure folders/directories are identical, I get the error only in MacOSX. It seems the error is because of one function, as of now if I exclude calling this function there is no error, rest seems working fine. Thank you all for your help!