Where to place external subroutine files?
26 Mar 2011 20:56 #8125
by yugami
Where to place external subroutine files? was created by yugami
I'm trying to implement some gcode in external subroutines.
The subroutines work if tested within the same file as the calling code.
I export them to their own file (triple checking formatting and using the right brackets and gt lt signs etc) and load the main (calling) file into Axis and it is ignored.
I'm wondering if i'm storing them in the wrong location on the file system. currently both the main file and the called file are in the same directory which is a storage folder under my home.
The subroutines work if tested within the same file as the calling code.
I export them to their own file (triple checking formatting and using the right brackets and gt lt signs etc) and load the main (calling) file into Axis and it is ignored.
I'm wondering if i'm storing them in the wrong location on the file system. currently both the main file and the called file are in the same directory which is a storage folder under my home.
Please Log in or Create an account to join the conversation.
26 Mar 2011 21:10 #8126
by BigJohnT
Replied by BigJohnT on topic Re:Where to place external subroutine files?
Please Log in or Create an account to join the conversation.
27 Mar 2011 00:49 #8135
by yugami
Replied by yugami on topic Re:Where to place external subroutine files?
I can't tell you how many times I've read that exact chunk and never saw the PROGRAM_PREFIX part.
I'll go hide in the corner now.
I'll go hide in the corner now.
Please Log in or Create an account to join the conversation.
27 Mar 2011 12:17 #8154
by BigJohnT
Replied by BigJohnT on topic Re:Where to place external subroutine files?
All that matters is now you know...
John
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds