R
Rob Meade
Hi all,
I'm in the middle of finishing a page and I've noticed that I have a chunk
of code that is used in two places - its exactly the same - I guess I can
rip this out - save it seperately and then call it into both areas when
needed - is this a 'class' - I'm not fully up with all the terminology...
So what should I do - within the same page create a sub and put it in there
then call it - or save it to a different type of file (somone indicate which
one?) and then reference it somehow to use it?
Any help would be appreciated,
Regards
Rob
I'm in the middle of finishing a page and I've noticed that I have a chunk
of code that is used in two places - its exactly the same - I guess I can
rip this out - save it seperately and then call it into both areas when
needed - is this a 'class' - I'm not fully up with all the terminology...
So what should I do - within the same page create a sub and put it in there
then call it - or save it to a different type of file (somone indicate which
one?) and then reference it somehow to use it?
Any help would be appreciated,
Regards
Rob