Hi,
When I program, I try to keep it as linear as possible, so that I can read it, otherwise I get lost.
I usually get sections of programs written for me, that I add into the MAIN program, and as usual I change it to be linear. E,G, say I get a section of CODE with a PROCESS in, instead of jumping to the process, I place it in a linear place in the program instead.
I'm used to GOSUBS, and I've come across INCLUDES, but again I suppose they could be placed linearly.
Thinking about it, perhaps, they are kept separately in sections, so that they can be used in different programs.
Taking PROCESSES, as an example, are done in this way for a reason? Can anyone tell me why please.
I have a linear MAIN program, that I'm just about to 'section' and need some pointers.
Camerart.
When I program, I try to keep it as linear as possible, so that I can read it, otherwise I get lost.
I usually get sections of programs written for me, that I add into the MAIN program, and as usual I change it to be linear. E,G, say I get a section of CODE with a PROCESS in, instead of jumping to the process, I place it in a linear place in the program instead.
I'm used to GOSUBS, and I've come across INCLUDES, but again I suppose they could be placed linearly.
Thinking about it, perhaps, they are kept separately in sections, so that they can be used in different programs.
Taking PROCESSES, as an example, are done in this way for a reason? Can anyone tell me why please.
I have a linear MAIN program, that I'm just about to 'section' and need some pointers.
Camerart.