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

Hide LIST ON #124

Open
thrust26 opened this issue Nov 12, 2021 · 1 comment
Open

Hide LIST ON #124

thrust26 opened this issue Nov 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@thrust26
Copy link
Member

I am using LIST ON|OFF to avoid clutter in the listing file. The problem I am facing is, that LIST ON becomes part of the listing file.

E.g. code:

  LIST OFF
some convoluted code or macros
  LIST ON
    .byte RESULT

Output:

  LIST ON
    .byte RESULT

Would it be possible to hide LIST ON?

@thrust26 thrust26 added the enhancement New feature or request label Nov 12, 2021
@andrew-davie
Copy link
Member

andrew-davie commented Nov 12, 2021

It might be useful in some circumstances to have at least some marker in the listing file to show that there is hidden code not being shown. Even if a single character. This suggests both list on and off should be marked even if by a single character bracket. Otherwise the listing can be deceptive and you have zero idea that there might be hidden stuff. I don't really care, but just on reading this request I thought I'd rather see something showing me what's going on.
Perhaps the LIST command could be extended with an optional symbol/comment/string, so you could go...

LIST ON Here we go
LIST OFF hide#1

If no parameter, then the LIST line is silent/hidden
If you have a parameter, then the current line is always displayed, with the parameter
Just an idea.

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
None yet
Development

No branches or pull requests

2 participants