Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


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

  • help — queries and displays help pages in the Scilab help browser
  • help_from_sci — Generate help files and demo files from the head comments section of a .sci source file.

History

VersionDescription
5.0 Second input argument %path removed.
Report an issue
<< apropos Documentation system help >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:49:22 CEST 2024