Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / functions again

Author
Message
yr un olaf
18
Years of Service
User Offline
Joined: 28th May 2006
Location:
Posted: 29th May 2006 19:30
i was just wondering if you could call a function from another function, ie you call a function and inside that function it says

if something then call another function

Thank you for everyones help this really is a fantastic forum for newbs like me
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2006 20:14
youre probably better off making the decision in main code and calling one or the other of the functions (if thats possible in your code) There's really no right or wrong answer here, but you should always try and code from the standpoint of function reusability

CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 29th May 2006 22:15 Edited at: 29th May 2006 22:22
yes you can, and thats exactly the right way for coding less lines and making reusable code.



Too Sexy

Login to post a reply

Server time is: 2024-11-26 19:38:06
Your offset time is: 2024-11-26 19:38:06