<< apropos Documentation : gestion help >>

Scilab Help >> Documentation : gestion > head_comments

head_comments

display Scilab function header comments

Syntax

head_comments(fname)

Arguments

fname

a character string, the function name.

Description

head_comments(fname) displays the function heading comments, that is to say, the first block of comments immediately following the "function" line in the function definition.

Warning: most of the Scilab predefined functions have no heading comments.

Examples

head_comments logspace
edit("logspace",1)
--> head_comments logspace
function [y] = logspace(d1,d2,n)
 Geometrical series of numbers in [10^d1, 10^d2].
 logspace(d1,d2) generates a row vector of 50 logarithmically
 equally spaced values between 10^d1 and 10^d2.
 If d2=%pi, then the points are between 10^d1 and pi.
 logspace(d1, d2, n) generates n values.

See also

History

VersionDescription
5.0 Second input argument %path removed.

Report an issue
<< apropos Documentation : gestion help >>