For some reason, I ceased to compile programs

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

For some reason, I ceased to compile programs

#1 Post by Eugene Lutsenko »

For some reason, I ceased to compile programs:

CLS
ARC _Aidos.arc
XPP %1 /W
ALINK %1 _Aidos.res /PM:PM

displays a message:


D:\ALASKA\AIDOS-X>CLS

D:\ALASKA\AIDOS-X>ARC _Aidos.arc

D:\ALASKA\AIDOS-X>XPP _AIDOS-X /W
_AIDOS-X.prg(95786:0): error XBT0200: Syntax Error
_AIDOS-X.prg(95895:0): error XBT0200: Syntax Error
_AIDOS-X.prg(95916:0): error XBT0200: Syntax Error
_AIDOS-X.prg(95893:0): error XBT0227: Mayhem in CASE handler

D:\ALASKA\AIDOS-X>ALINK _AIDOS-X _Aidos.res /PM:PM
Alaska 32-Bit Linker Version 1.90.355
Copyright (c) Alaska Software 1997-2009. All rights reserved.

the program here:

Error can not see at close range

There is an impression that I can not add a variable.
How to bring order to the variables?

When I commented out all the rows where the error occurred, the program began to be compiled, and the compiler produces an extensive list of warnings about not using the correct variables
Attachments
err.zip
(287.62 KiB) Downloaded 563 times
_AIDOS-X.zip
(680.56 KiB) Downloaded 548 times

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: For some reason, I ceased to compile programs

#2 Post by Eugene Lutsenko »

Used instead of a new previously use a variable, and the program began to be compiled. But the question of how to put things in order with variable remains.
Attachments
_AIDOS-X.zip
(680.57 KiB) Downloaded 552 times

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: For some reason, I ceased to compile programs

#3 Post by rdonnay »

You have a lot of problems in your code.

Code: Select all

Line 95786   mNorm‘olor = FileStr('_Nor‘ol.txt')

Line 95895   CASE mNor‘ol = "®à¬¨à®¢ âì 梥â"  

Line 95916   CASE mNor‘ol = "¥ ­®à¬¨à®¢ âì 梥â"  
You cannot use special characters in your variable names. Only A-Z and 0-9.
I assume you meant to type mNormColor instead of mNorm‘olor

Also, the file will not compile because there is insufficient memory.

You need to break down your application into more files. I recommend 3-4 files.

Read this thread:

http://bb.donnay-software.com/donnay/vi ... lly#p10398

Why do you have so many #include statements in your file?
Most of them are not needed.
This is another thing that will cause the compiler to run out of memory.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: For some reason, I ceased to compile programs

#4 Post by Eugene Lutsenko »

Thank you, Roger!

'_Nor‘ol.txt' I myself noticed and corrected. A split into several files I really did not want to, although I understand that it is right. Probably would have. A And what include advise you to remove??

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: For some reason, I ceased to compile programs

#5 Post by rdonnay »

I am not sure, but I think all you need are the below 10 files:

#INCLUDE "dcdialog.CH"
#INCLUDE "common.CH"
#INCLUDE "dctree.CH"
#INCLUDE "dcgraph.CH"
#INCLUDE "dll.CH"
#INCLUDE "dcdir.CH"
#INCLUDE "dcgra.CH"
#INCLUDE "dcpick.CH"
#include "appevent.ch"
#INCLUDE "fileio.CH"

I can't tell for sure because it will not compile on my computer. It runs out of memory.

You need to make another PRG file that includes your basic functions.

This would be any function that uses all LOCAL variables.
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: For some reason, I ceased to compile programs

#6 Post by Auge_Ohr »

Eugene Lutsenko wrote:A split into several files I really did not want to, although I understand that it is right. Probably would have
YES .... over 64000 Lines in 1 x PRG is too much ;-)
you can e.g. put all Code for Delaunay triangulation into a DLL.
greetings by OHR
Jimmy

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: For some reason, I ceased to compile programs

#7 Post by Eugene Lutsenko »

Auge_Ohr wrote:
Eugene Lutsenko wrote:A split into several files I really did not want to, although I understand that it is right. Probably would have
YES .... over 64000 Lines in 1 x PRG is too much ;-)
you can e.g. put all Code for Delaunay triangulation into a DLL.
I can. I tried it, it turns out. But it makes no sense, because I am constantly working on the source code. I had to redo all the time DLL.

PS
I basically completed the subsystem 4.8, for which versed with the Delaunay triangulation. The system here:
ftp://lc.kubagro.ru/Dima/Aidos-X.zip
By the way, Jimmy. There (in the subsystem 4.8) all sorts of beautiful things turn out.
http://bb.donnay-software.com/donnay/vi ... 2&start=30

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: For some reason, I ceased to compile programs

#8 Post by Auge_Ohr »

Eugene Lutsenko wrote:I can. I tried it, it turns out. But it makes no sense, because I am constantly working on the source code. I had to redo all the time DLL.
how does other People do it with > 100000 Lines of Code ...
Eugene Lutsenko wrote: PS
I basically completed the subsystem 4.8, for which versed with the Delaunay triangulation. The system here:
ftp://lc.kubagro.ru/Dima/Aidos-X.zip
FTP seems to need Username / PW ...
greetings by OHR
Jimmy

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: For some reason, I ceased to compile programs

#9 Post by Eugene Lutsenko »

Auge_Ohr wrote:
Eugene Lutsenko wrote:I can. I tried it, it turns out. But it makes no sense, because I am constantly working on the source code. I had to redo all the time DLL.
how does other People do it with > 100000 Lines of Code ...
Eugene Lutsenko wrote: PS
I basically completed the subsystem 4.8, for which versed with the Delaunay triangulation. The system here:
ftp://lc.kubagro.ru/Dima/Aidos-X.zip
FTP seems to need Username / PW ...
The initial user name and password:
login: 1
password: 1

Then they can be changed

Post Reply