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

Use io:fread #329

Open
glaucotodesco opened this issue May 21, 2019 · 1 comment
Open

Use io:fread #329

glaucotodesco opened this issue May 21, 2019 · 1 comment

Comments

@glaucotodesco
Copy link

Hello,
I'm trying to use fread on eclipse, but it does not having the expected behavior.

My code is:

hello_world2() -> io:fread('enter->\n', "ff").

Outside de Eclipse works, (shell erl) I type two float numbers and press enter, and the input finished.

But on Eclipse console don’t work.

What is wrong?

Thanks!

@vladdu
Copy link
Collaborator

vladdu commented May 21, 2019

The console in Eclipse is not a real console. We're simulating it, so that we can do syntax highlighting and code completion there. I don't know if it is possible to have both that and be able to use input via io functions.

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

No branches or pull requests

2 participants