Raised This Month: $ Target: $400
 0% 

[ Solved ] prefix for a function.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-15-2012 , 09:39   Re: prefix for a function.
Reply With Quote #8

If you are going to tag a function, use a valid tag and then return a value of that tag. The reason why it does not work is because you are returning an untagged value where you are declaring the function as returning a tagged value


Example:
PHP Code:
public CsTeam:getTeam(id)
{
    return 
cs_get_user_team(id);

__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 07-15-2012 at 09:41.
YamiKaitou is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode