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
Interesting article about...
by
PascalDragon
[
Today
at 09:46:33 pm]
Datatypes Interoperabilit...
by
BSaidus
[
Today
at 09:36:52 pm]
Component Installation
by
msch
[
Today
at 09:31:43 pm]
Common File Dialogs Have ...
by
rvk
[
Today
at 09:24:48 pm]
Who catches the Linux sig...
by
PascalDragon
[
Today
at 09:10:40 pm]
Bot moderator for large g...
by
Renat.Su
[
Today
at 09:09:31 pm]
FPC port to 9front
by
PascalDragon
[
Today
at 09:00:02 pm]
Adding interfaces to any ...
by
PascalDragon
[
Today
at 08:58:19 pm]
Wiki, a dead link in page...
by
d7_2_laz
[
Today
at 08:47:40 pm]
crash db navigator with L...
by
calm_sea
[
Today
at 08:45:56 pm]
[Solved] Crosshair error ...
by
Marq01
[
Today
at 08:09:39 pm]
lazarus 4.0 RC1 error
by
Martin_fr
[
Today
at 08:06:35 pm]
Bug in string concatenati...
by
Avinash
[
Today
at 07:36:50 pm]
Help Needed With FPHTTPCl...
by
AaronCatolico1
[
Today
at 06:46:06 pm]
Draw Transparent Fill Rec...
by
LBox
[
Today
at 06:43:14 pm]
TvsComPort on MacOS Sierr...
by
ackarwow
[
Today
at 06:33:15 pm]
Starting a program with h...
by
Hartmut
[
Today
at 06:11:21 pm]
I have created dll in gol...
by
Packs
[
Today
at 05:52:32 pm]
Interaction dbnavigator r...
by
calm_sea
[
Today
at 03:08:52 pm]
Online tutor using remote...
by
marcov
[
Today
at 10:21:25 am]
had a question and found ...
by
MarkMLl
[
Today
at 09:14:59 am]
Adlib Player
by
Gigatron
[
Today
at 01:57:12 am]
Is it possible to do git ...
by
Warfley
[
Today
at 12:38:51 am]
MQTT devices for Home Ass...
by
nicolap
[
Today
at 12:37:19 am]
Anyone doing Advent of Co...
by
therealhades
[December 11, 2024, 09:47:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unexpected end of file (Read 665 times)
Milsa
Sr. Member
Posts: 323
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: 11947
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: 323
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: 613
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: 6591
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: 323
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: 323
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