View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Sun Aug 30, 2015 3:09 pm Post subject: Can function in CONTAINS of another function be used in CWP? |
|
|
<???>
To save on all the declarations and the common blocks i attached the function to existing function/subroutine using CONTAINS at the end of it (do not mix with CONTAINS in modules which works OK). Then i tried to use this function in other places as a callback as usual.
But if i do that i get the run time message that this function is corrupt and program crashes. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7932 Location: Salford, UK
|
Posted: Mon Aug 31, 2015 6:32 am Post subject: |
|
|
It should work OK. Can you post a short example? |
|
Back to top |
|
|
|