Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ScriptWorkspace.SelectLines

Selects lines in current script.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 9.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.SelectLines"; Line1; Line2 )   More

Parameters

Parameter Description Example
Line1 The first line number.
If negative, will be relative to end.
10
Line2 The last line number.
If negative, will be relative to end.
15

Result

Returns OK or error.

Description

Selects lines in current script.
Line number can be be negative to select a line relative to end of script.

Examples

Select rows 5 to 10:

MBS( "ScriptWorkspace.SelectLines"; 5; 10 )

Select last two lines:

MBS( "ScriptWorkspace.SelectLines"; -2; -1 )

See also

Release notes

Blog Entries

This function checks for a license.

Created 20th December 2018, last changed 4th December 2019


ScriptWorkspace.SelectLine - ScriptWorkspace.SelectedLine