Page 1 of 1
For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 12:12 pm
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
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 12:47 pm
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.
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 12:48 pm
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.
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 1:01 pm
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??
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 1:28 pm
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.
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 4:39 pm
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.
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 8:58 pm
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
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 9:45 pm
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 ...
FTP seems to need Username / PW ...
Re: For some reason, I ceased to compile programs
Posted: Sun Apr 03, 2016 9:59 pm
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 ...
FTP seems to need Username / PW ...
The initial user name and password:
login: 1
password: 1
Then they can be changed