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

Remove _OFFSET restrictions and implement _CAST #581

Merged
merged 4 commits into from
Nov 29, 2024

Conversation

a740g
Copy link
Contributor

@a740g a740g commented Nov 28, 2024

This PR lifts the restrictions placed on the usage of _OFFSET in expressions. See #580 for the complete discussion that led to this PR.

This PR also introduces the _CAST pseudo-function, implemented in the same style as _MK and _CV, as discussed in #580.

result = _CAST(numericalType, numericalValue)

Tests for _CAST and _OFFSET are included.

@a740g a740g added bug Something isn't working enhancement New feature or request labels Nov 28, 2024
@a740g a740g self-assigned this Nov 28, 2024
@a740g a740g merged commit c58af66 into QB64-Phoenix-Edition:main Nov 29, 2024
4 checks passed
@a740g a740g deleted the clngptr branch November 29, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants