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

example_starts_with prints logical results as binary #804

Closed
sscalpone opened this issue Apr 24, 2024 · 0 comments · Fixed by #813
Closed

example_starts_with prints logical results as binary #804

sscalpone opened this issue Apr 24, 2024 · 0 comments · Fixed by #813
Labels
bug Something isn't working

Comments

@sscalpone
Copy link

This line of code

  print'(a)', starts_with("pattern", "pat")  ! T

in stdlib/example/strings/example_starts_with.f90
prints binary because of the a format.

It's not a problem per se, but just checking if it's intentional.

% gfortran example_starts_with.f90
% a.out |& cat -v
^A^@^@^@
^@^@^@^@
%
@jvdp1 jvdp1 added the bug Something isn't working label May 11, 2024
jvdp1 pushed a commit to jvdp1/stdlib that referenced this issue May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants