Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Unexpected end of file
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
What is a status of fpGUI...
by
Fred vS
[
Today
at 02:46:09 am]
Artificial intelligence
by
zeljko
[
Today
at 01:46:06 am]
Spaces are allowed here ?
by
440bx
[
Today
at 12:59:39 am]
SDL2 image rotation Probl...
by
TRon
[
Today
at 12:39:30 am]
A Tip for beginners
by
dbannon
[January 18, 2025, 11:30:59 pm]
Width of Project-Close D...
by
Wilko500
[January 18, 2025, 11:08:12 pm]
Looking For Lazarus Tutor...
by
cdbc
[January 18, 2025, 10:32:29 pm]
Fatal: Cannot find Contro...
by
Soner
[January 18, 2025, 09:58:44 pm]
Restoring minimized scree...
by
Soner
[January 18, 2025, 09:41:16 pm]
[SOLVED] SetPart ?
by
BubikolRamios
[January 18, 2025, 08:51:31 pm]
[SOLVED] Operators overri...
by
ackarwow
[January 18, 2025, 07:55:54 pm]
Programs writing programs...
by
MarkMLl
[January 18, 2025, 07:50:40 pm]
How to add new methods to...
by
jmpessoa
[January 18, 2025, 07:27:22 pm]
FPC 3.2.4, naming suggest...
by
ALLIGATOR
[January 18, 2025, 07:16:55 pm]
Preparing FPC 3.2.4, poin...
by
Fred vS
[January 18, 2025, 06:09:48 pm]
TSelectDirectoryDialog do...
by
krzynio
[January 18, 2025, 05:57:40 pm]
Iterator on non-existing ...
by
PascalDragon
[January 18, 2025, 05:08:52 pm]
const declaration
by
PascalDragon
[January 18, 2025, 05:05:55 pm]
How to avoid copying
by
PascalDragon
[January 18, 2025, 05:02:08 pm]
Nested declarations insid...
by
PascalDragon
[January 18, 2025, 04:57:51 pm]
TImage colors incorrect
by
Jonny
[January 18, 2025, 04:17:53 pm]
An interprocess network?
by
cdbc
[January 18, 2025, 03:10:31 pm]
INET TLUDPcomponent for i...
by
cdbc
[January 18, 2025, 03:08:38 pm]
Bug in the formula MATCH,...
by
veb86
[January 18, 2025, 02:40:23 pm]
Bug in the formula MATCH
by
veb86
[January 18, 2025, 02:21:09 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unexpected end of file (Read 790 times)
Milsa
Sr. Member
Posts: 325
Unexpected end of file
«
on:
November 10, 2024, 06:45:59 pm »
Why?
Logged
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022
marcov
Administrator
Hero Member
Posts: 11986
FPC developer.
Re: Unexpected end of file
«
Reply #1 on:
November 10, 2024, 06:46:50 pm »
No end. at the end of the file? Or some dos EOF character somewhere?
Logged
Milsa
Sr. Member
Posts: 325
Re: Unexpected end of file
«
Reply #2 on:
November 10, 2024, 06:47:48 pm »
I added this unit to main post.
Logged
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022
Fibonacci
Hero Member
Posts: 646
Internal Error Hunter
Re: Unexpected end of file
«
Reply #3 on:
November 10, 2024, 07:02:41 pm »
If you were using Lazarus, you would see that all the code is commented out.
Logged
rvk
Hero Member
Posts: 6641
Re: Unexpected end of file
«
Reply #4 on:
November 10, 2024, 07:10:56 pm »
Check out line 11.
Code: Pascal
[Select]
[+]
[-]
{**********************************************************}
{
{$F-,O-,A+,G+,R-,S-,I-,Q-,V+,B-,X+,T+,P-,D-,L-,Y-,N-,E-}
You have a comment there !!!
Remove it.
/edit/ Ha. Fibonacci already found it.
Logged
Milsa
Sr. Member
Posts: 325
Re: Unexpected end of file
«
Reply #5 on:
November 10, 2024, 07:39:37 pm »
Thank you. Free Pascal for DOS didn't see it.
Logged
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022
Milsa
Sr. Member
Posts: 325
Re: Unexpected end of file
«
Reply #6 on:
November 17, 2024, 07:31:20 pm »
Quote from: Fibonacci on November 10, 2024, 07:02:41 pm
If you were using Lazarus, you would see that all the code is commented out.
I have a sub question: How do I set up Lazarus to compile for DOS go32v2? Lazarus have better editor.
Logged
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Unexpected end of file
TinyPortal
© 2005-2018