Author Topic: what is "No more text"?  (Read 312 times)

0 Members and 1 Guest are viewing this topic.

Offline funkheld

  • CPC664
  • ***
  • Posts: 117
  • Liked: 7
  • Likes Given: 0
what is "No more text"?
« on: 10:37, 07 September 19 »

Hi good afternoon.
what is "no more text" please? with compile "C" or compile "T"?

Thank you.
greeting
« Last Edit: 10:39, 07 September 19 by funkheld »

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.718
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 952
  • Likes Given: 1676
Re: what is "No more text"?
« Reply #1 on: 11:42, 07 September 19 »
Line 530 is missing the full stop '.' after the END, all Pascal programs do that at the end of the main area of code.
Code: [Select]
BEGIN

END.


If it's a PROCEDURE or FUNCTION they use the Semi-Colon ';'

Code: [Select]
PROCEDURE bla;
BEGIN
END;

FUNCTION ha : CHAR;
BEGIN
END;

If in the event the following line is an 'end;' then the previous line doesn't need a semi-colon, but in your case because the last line is missing the Full Stop on line 530, the Compiler thinks there's more code to follow, but there isn't so issues a No more text error.

A lot of that is documented using Illustrations in the Hisoft Pascal manual, which has helped me a lot in understanding the workings of that compiler, though Pascal programs from early ACU are available through the Hisoft Pascal 4T Page on CPCWiki as well.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Offline funkheld

  • CPC664
  • ***
  • Posts: 117
  • Liked: 7
  • Likes Given: 0
Re: what is "No more text"?
« Reply #2 on: 22:50, 07 September 19 »
hello thanks.


greeting