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

variable that is given a value by a cast is not recognized #42

Closed
meijeru opened this issue May 20, 2011 · 1 comment
Closed

variable that is given a value by a cast is not recognized #42

meijeru opened this issue May 20, 2011 · 1 comment
Labels
status.dismissed Changes asked are rejected (should be elaborated in comments).

Comments

@meijeru
Copy link
Contributor

meijeru commented May 20, 2011

The program

p: as [pointer! [integer!]] 0
p + 1

gives the error

*** Compilation Error: undefined symbol: p
@meijeru
Copy link
Contributor Author

meijeru commented May 20, 2011

I was too naive: p must first be declared.

@meijeru meijeru closed this as completed May 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status.dismissed Changes asked are rejected (should be elaborated in comments).
Projects
None yet
Development

No branches or pull requests

1 participant