Displaying help for a subroutine
Posted: Mon Sep 05, 2016 5:07 am
Hi,
Is there any way to display help for a subroutine ? So that the programmer can write some lines of code to explain how to use it (especially the type and nb of arguments).
I'm looking for something similar to Matlab :
Thanks !
Is there any way to display help for a subroutine ? So that the programmer can write some lines of code to explain how to use it (especially the type and nb of arguments).
I'm looking for something similar to Matlab :
Code: Select all
> help(addition)
>>> addition computes the sum of two scalars.
>>> Syntax : addition(arg1,arg2) etc.
Thanks !