Message 1 of 5
Not applicable
09-10-2020
12:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Here is the problem:
I am losing the value of a variable I assign in an if statement. I don't know why this would happen.
See example:
INT test = INPUT "enter a number"
if test==5 {
string number = "the number is 5"
}
As soon as i get out from that if I lose the value number. What am I doing wrong here?
Thanks,
Marc
Solved! Go to Solution.

