Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessor directives are raising errors #88

Open
eglekaz opened this issue Oct 11, 2024 · 0 comments
Open

Preprocessor directives are raising errors #88

eglekaz opened this issue Oct 11, 2024 · 0 comments

Comments

@eglekaz
Copy link

eglekaz commented Oct 11, 2024

Here are some examples:

&IF LOOKUP("{&OPSYS}","MSDOS,WIN32":U) > 0 &THEN
    &SCOPED-DEFINE SLASH ~~~\
&ELSE
    &SCOPED-DEFINE SLASH /
&ENDIF
&GLOBAL Main_index 49153
&GLOBAL-DEFINE MAX-EXPENSE 5000

Also in include files:

&if '{&name}' = '' &then
    &scoped-define name ttTable
&endif

define {&visibility} temp-table {&name} no-undo
  field something as int
  field something2 as char
  index something as primary unique something
.

Documentation: https://docs.progress.com/bundle/openedge-abl-portable-applications-117/page/Using-preprocessor-directives.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant