Functions and help boxes

Support for all customers who have purchased a PrimalScript product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
greatbarrier86
Posts: 11
Joined: Mon Jan 11, 2010 1:57 am

Functions and help boxes

Post by greatbarrier86 » Mon Dec 06, 2010 5:52 am

I know there are many different ways to write a function in Powershell.
Which is the best way in order to show the function arguments in the yellow help box when using the function. I noticed that when they are in the function declaration, they show in the help box. When they are declared using the param keyword, they do not. So, which way do you officially support?