News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

what is "No more text"?

Started by funkheld, 08:37, 07 September 19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

funkheld


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

Thank you.
greeting

AMSDOS

Line 530 is missing the full stop '.' after the END, all Pascal programs do that at the end of the main area of code.

BEGIN

END.



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


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

funkheld


Powered by SMFPacks Menu Editor Mod