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

Macro compiler and IN parameters #1675

Open
RobertvanderHulst opened this issue Jan 24, 2025 · 0 comments
Open

Macro compiler and IN parameters #1675

RobertvanderHulst opened this issue Jan 24, 2025 · 0 comments
Assignees

Comments

@RobertvanderHulst
Copy link
Member

This macro compiler does not properly handle IN parameters at this moment

Background:
For X# 3 I have changed the parameters for several Runtime functions from AS to IN

FUNCTION IsLong(uValue AS USUAL) AS LOGIC
has become
FUNCTION IsLong(uValue IN USUAL) AS LOGIC

This should make the runtime a little bit faster.

Unfortunately the following codeblock no longer works

oBlock := &("{|e|IsLong(e)}")
? eval(oBlock,42L) // should return TRUE
? eval(oBlock,42.0) // Should return FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants