Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> 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-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:54 CEST 2016