Hi. I have a bit of a weird one here. I havn't really played with GComm that much (appart from writing our support ticket system), which didn't really use the features that I am about to talk about.
Basically, when using a routine (in a .pm file), you seem to have to use;
return;
Note the 'return' part.. is there any reason for this? I didn't have it in there to start with, and it kept on giving me errors about the template '1' not existing or something
Can anyone shed any light on this?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Basically, when using a routine (in a .pm file), you seem to have to use;
Code:
print "something here"; return;
Note the 'return' part.. is there any reason for this? I didn't have it in there to start with, and it kept on giving me errors about the template '1' not existing or something
Can anyone shed any light on this?
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!