Comments (7)
Ok, understood. I have made a change to handle this correctly. The editor window now looks like this:
from xsharppublic.
You really like to stress the editor, don't you
from xsharppublic.
Robert,
I am not guilty
This is a real application that has been migrated from VO, and I am currently making changes to the code. To be honest, I don't really like UDC myself, as it makes it difficult to analyze unfamiliar code.
from xsharppublic.
Robert,
To help you find the problem, I prepared a project with a ready-made example (VS2022):
TestConsoleApplication.zip
from xsharppublic.
The problem seems to be the fact that there are some unneeded semicolons in your definition:
If you change
#command LOAD_BEGIN(<cKOD>) => ;; ;
IF DBSEEK(<cKOD>)
#command LOAD_COMPLETE() => ;; ;
ENDIF
to
#command LOAD_BEGIN(<cKOD>) => ;
IF DBSEEK(<cKOD>)
#command LOAD_COMPLETE() => ;
ENDIF
then it works correctly.
The extra ;;
inserts an empty statement in the output and that seems to confuse the editor parser. Why did you add these?
from xsharppublic.
Robert,
I don't know why there are multiple semicolons. I didn't add them. So it was in VO, from where it migrated to X# in its original form (except for bringing it to the new X# syntax). In VO, my other colleagues did it.
This is how it looked in VO:
****************************************************************************
* LOAD_BEGIN(<cKOD>)
****************************************************************************
LOAD_BEGIN(<cKOD>) => ;; ;
IF DBSEEK(<cKOD>)
****************************************************************************
* LOAD_COMPLETE()
****************************************************************************
LOAD_COMPLETE() => ;; ;
ENDIF
etc.
from xsharppublic.
Fixed!
from xsharppublic.
Related Issues (20)
- VS Integration: Namespace content not showing
- Missing constructor parameter list lint on generic class HOT 2
- LOOP and EXIT keywords cause auto indent to fail
- VS editor exception HOT 3
- Autocompletion replaces .or. with .OrderSpec. HOT 3
- Internal Compiler Error with DO CASE statement missing CASE/OTHERWISE HOT 5
- AdsSQLServer Error 7200 when parameters are used. HOT 5
- Problem opening form with event
- Preprocessor bug (XBase++ dialect) HOT 3
- No Compiler Error for Super Calls in not overriden methods HOT 3
- Incompatibility with Object.ToString() HOT 11
- Function AAdd() doesn't support third parameter (Xbase++ dialect) HOT 2
- Preprocessor bug in WP (XBase++ dialect) HOT 7
- The preprocessor puts an excess parenthesis (Xbase++ dialect) HOT 2
- X# compiler doesn't support init/exit procedures (Xbase++ dialect) HOT 2
- Some questions about migrating from Xbase++ HOT 2
- PRG-Filenames in Visual Studio HOT 3
- Failed to emit Module error with CONST class field missing value assignment HOT 2
- The global MEMVARs hide local variables HOT 3
- Compiler does not warn about incorrect reference passing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsharppublic.