Giter VIP home page Giter VIP logo

Comments (7)

RobertvanderHulst avatar RobertvanderHulst commented on August 22, 2024 1

Ok, understood. I have made a change to handle this correctly. The editor window now looks like this:
image

from xsharppublic.

RobertvanderHulst avatar RobertvanderHulst commented on August 22, 2024

You really like to stress the editor, don't you 😄

from xsharppublic.

leon-ts avatar leon-ts commented on August 22, 2024

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.

leon-ts avatar leon-ts commented on August 22, 2024

Robert,
To help you find the problem, I prepared a project with a ready-made example (VS2022):
TestConsoleApplication.zip

from xsharppublic.

RobertvanderHulst avatar RobertvanderHulst commented on August 22, 2024

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.

leon-ts avatar leon-ts commented on August 22, 2024

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.

leon-ts avatar leon-ts commented on August 22, 2024

Fixed!

from xsharppublic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.