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
For some reason, I ceased to compile programs
- 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
- Attachments
-
- err.zip
- (287.62 KiB) Downloaded 562 times
-
- _AIDOS-X.zip
- (680.56 KiB) Downloaded 547 times
- 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
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
Re: For some reason, I ceased to compile programs
You have a lot of problems in your code.
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.
Code: Select all
Line 95786 mNorm‘olor = FileStr('_Nor‘ol.txt')
Line 95895 CASE mNor‘ol = "®à¬¨à®¢ âì 梥â"
Line 95916 CASE mNor‘ol = "¥ ®à¬¨à®¢ âì 梥â"
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.
- 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
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??
'_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??
Re: For some reason, I ceased to compile programs
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.
#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.
Re: For some reason, I ceased to compile programs
YES .... over 64000 Lines in 1 x PRG is too muchEugene Lutsenko wrote:A split into several files I really did not want to, although I understand that it is right. Probably would have

you can e.g. put all Code for Delaunay triangulation into a DLL.
greetings by OHR
Jimmy
Jimmy
- 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
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.Auge_Ohr wrote:YES .... over 64000 Lines in 1 x PRG is too muchEugene Lutsenko wrote:A split into several files I really did not want to, although I understand that it is right. Probably would have
you can e.g. put all Code for Delaunay triangulation into a 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
Re: For some reason, I ceased to compile programs
how does other People do it with > 100000 Lines of Code ...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.
FTP seems to need Username / PW ...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
greetings by OHR
Jimmy
Jimmy
- 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
The initial user name and password:Auge_Ohr wrote:how does other People do it with > 100000 Lines of Code ...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.FTP seems to need Username / PW ...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
login: 1
password: 1
Then they can be changed