| **Navigation:**  [[introduction.htm|Language Reference]] > [[chapter runtime properties.htm|App C - PROP: Runtime Properties]] > Complete Property List >====== PROP:Line and PROP:LineCount ====== | [[prop libversion.htm|{{btn_prev_n.gif|Previous page}}]][[chapter runtime properties.htm|{{btn_home_n.gif|Return to chapter overview}}]][[prop lineheight.htm|{{btn_next_n.gif|Next page}}]] | | || PROP:Line is an array whose elements each contain one line of the text in a TEXT control. (READ ONLY) PROP:LineCount returns the number of lines of text in a TEXT control, or the total number of records in the listbox source. It can be useful if source of records is not a queue. If source is a queue, returned value is equal to RECORDS(queue). (READ ONLY) **Example:** **LineCount SHORT** **MemoLine STRING(80)** **CustRpt  REPORT,AT(1000,1000,6500,9000),THOUS** **Detail1   DETAIL,AT(0,0,6500,6000)** **        TEXT,AT(0,0,6500,6000),USE(Fil:MemoField)** **       END** **Detail2   DETAIL,AT(0,0,6500,125)** **        STRING(@s80),AT(0,0,6500,125),USE(MemoLine)** **       END** **      END** ** CODE** ** OPEN(File)** ** SET(File)** ** OPEN(CustRpt)** ** LOOP** **  NEXT(File)** **  LineCount = CustRpt$?Fil:MemoField{PROP:LineCount}** **  LOOP X# = 1 TO LineCount ** **   MemoLine = CustRpt$?Fil:MemoField{PROP:Line,X#}** **   PRINT(Detail2)** **  END** ** END** **   **