Re: Functions? I'm Lost!!

new topic     » goto parent     » topic index » view thread      » older message » newer message

I guess I'm just confused on where and how to use them. I understand that
they return a value. ex.

function same(object a, object b)
     return not compare(a,b)
end function

I understand that this will return a value of 1 if true and a value 0 if
false(I believe). I have tried to use them and often get errors. Is there
anywhere that tells where and under what secumstances you can call a
function. I can only get them to work in an if...then statement. Are you
supposed to be able to use them anywhere else? Have I just missed something?
Or is that the only time you would actually need to use a function? I'm just
new and get confused, that's all.


Just a note:
This forum is great. I always get help with the problems that I have.
If it weren't for ya'll I'd have given up a long time ago. Thanks Bunches!!

Dave

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu