EXIT FUNCTION

Post Reply
sajith
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India
Contact:

EXIT FUNCTION

Post by sajith »

CODE FOR HOW TO EXIT FROM A FUNTION
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: EXIT FUNCTION

Post by anserkk »

Dear Sajith,

I could not understand your question
Usually RETURN is used to end a function.

Code: Select all

Fuction Test()
Local cName,cAge.....

Return
Regards

Anser
sajith
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India
Contact:

Re: EXIT FUNCTION

Post by sajith »

I want to exit from a function:
eg)
funtion create(ctxt)
if(ctxt=="sajith")
//if "sajith" i doent want to continue the function i want to exit the function frm here //
in dotnet(vb.net)i used EXITFUNCTION. is Fivewin wht is the syntax?
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: EXIT FUNCTION

Post by anserkk »

Dear Sajith,

As said above in my previos post

RETURN is used to exit the function

Regards

Anser
Post Reply