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

Implementing $INCLUDEONCE #448

Merged
merged 7 commits into from
Feb 8, 2024
Merged

Implementing $INCLUDEONCE #448

merged 7 commits into from
Feb 8, 2024

Conversation

RhoSigma-QB64
Copy link
Member

  • external dependencies refactoring ( also adds DECLARE LIBRARY files to the list)
  • implements $INCLUDEONCE ( Closes $INCLUDE_ONCE #240 )

- changes to Open/Save dialogs suggested by Steve to avoid adding a second extension
- adds filetype IDs
- now includes DECLARE LIBRARY files
- allows immediate recompile after error whitout the need to make a "fake" change to the program first
- placing $INCLUDEONCE in any line in an include file will prevent including the file multiple times (BAS synonym for #pragma once)
- $INCLUDEONCE must be the only thing in the line
- using it in the main program has no effect and will be ignored without error
- unify description and formatting
- make them $INCLUDEONCE to avoid 100s of warnings if eg. multiple $COLOR:32 are used in a program
@RhoSigma-QB64 RhoSigma-QB64 added the enhancement New feature or request label Feb 7, 2024
@RhoSigma-QB64 RhoSigma-QB64 self-assigned this Feb 7, 2024
- add SYSTEM to avoid deadlock of workflow
@RhoSigma-QB64 RhoSigma-QB64 merged commit 09574cc into main Feb 8, 2024
4 checks passed
@RhoSigma-QB64 RhoSigma-QB64 deleted the include-once branch February 8, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

$INCLUDE_ONCE
2 participants