Warning: Parameter 1 to NP_Poll::event_PreSkinParse() expected to be a reference, value given in /home/opensl00/public_html/timrynne/nucleus/libs/MANAGER.php on line 331
tim rynne

Archive for March of 2006

best practice - utilise functions instead of subs

tim rynne - March 09, 2006
ok... here's just a quick one that hopefully will make sense...

I think the subject line says it all - where possible, use Functions instead of Subroutines (in LotusScript).

Over the last few years I've seen a lot of code and it seems that most people are writing their code in subroutines and not taking advantage of the return code available with a function. At the very least, one of the greatest benefits of using a function is so you can return a True/False value based on whether the function succeeds or fails.

...more »