Gossamer Forum
Home : Products : Others : Gossamer Community :

Correct behaviour?

Quote Reply
Correct behaviour?
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;

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 Frown

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!
Subject Author Views Date
Thread Correct behaviour? Andy 3629 Apr 14, 2004, 5:27 AM
Thread Re: [Andy] Correct behaviour?
vacationrentals 3521 Apr 15, 2004, 7:18 AM
Post Re: [vacationrentals] Correct behaviour?
Andy 3505 Apr 15, 2004, 7:20 AM
Post Re: [Andy] Correct behaviour?
pugdog 3493 Apr 15, 2004, 11:50 PM
Thread Re: [Andy] Correct behaviour?
Alex 3466 Apr 16, 2004, 2:45 PM
Post Re: [Alex] Correct behaviour?
pugdog 3473 Apr 17, 2004, 4:40 AM