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

Added "#.com", which allows us to have comments #107

Merged
merged 3 commits into from
May 28, 2024
Merged

Added "#.com", which allows us to have comments #107

merged 3 commits into from
May 28, 2024

Conversation

skx
Copy link
Owner

@skx skx commented May 28, 2024

As everything in the CP/M CCP is a command we
can implement comments by adding a binary named
"#".

That means this "does nothing":

    # foo bar

What actually happens, of course, is that "#.com"
is loaded with "foo bar" passed as arguments to it. But since the binary immediately terminates we get a comment in practice.

skx added 3 commits May 28, 2024 20:51
As everything in the CP/M CCP is a command we
can implement comments by adding a binary named
"#".

That means this "does nothing":

        # foo bar

What actually happens, of course, is that "#.com"
is loaded with "foo bar" passed as arguments to it.
But since the binary immediately terminates we get
a comment in practice.
@skx skx merged commit 8d6e320 into master May 28, 2024
2 checks passed
@skx skx deleted the add-comment branch May 28, 2024 18:02
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

Successfully merging this pull request may close these issues.

1 participant