Gfa_LineCnt and Gfa_TopLine Function

Syntax

n% = Gfa_LineCnt

line% = Gfa_TopLine

Description

Gfa_LineCnt Returns the number of lines of the program.

line% = Gfa_TopLine returns  the line currently at the top of the editor window.

Although the code for the Gfa_TopLine= assignment is present, a bug prevents its use.

Example

An easy workaround is

' emulate Gfa_TopLine=

Gfa_Line = 1

Gfa_Line line%  

See Also

Gfa_Line

{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}