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

Question about File.Size description #18

Closed
mrleavitt opened this issue Dec 11, 2012 · 2 comments
Closed

Question about File.Size description #18

mrleavitt opened this issue Dec 11, 2012 · 2 comments

Comments

@mrleavitt
Copy link
Collaborator

Around p. 65, the command: File.Size <size_nvar>, <Path_sexp> is discussed. The current text says:

The size, in bytes, of the file at <Path_sexp> will be returned in <size_nvar>.
The default path is “/sdcard/rfo-basic/data/”.

My question is what happens if there is no file at <Path_sexp>?

@jMarcS
Copy link
Collaborator

jMarcS commented Dec 12, 2012

I tried it. I got a runtime error.
The command was:

file.size size, "fred.txt"

The error was:

fred.txt not found
file.sizesize,"fred.txt"

@mrleavitt
Copy link
Collaborator Author

Thanks. I added those words.

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