Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> History manager > historysize

historysize

get number of lines in history

Syntax

nb = historysize()
nbMax = historysize("max")
nbMax = historysize(newMax)

Arguments

nb

number of lines in current history.

nbMax

number of lines maximum in history file.

newMax

set number of lines maximum in history file.

by default this value is 20000 lines max.

Description

get number of lines in history.

This function can also used to set maximum number of lines in history file.

Examples

historysize()
            historysize("max")
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:37 CET 2017