So I’m importing this file called tbox.txt and in that file it has a variable, num, which equals 3. Now when I run the debug window, it comes back as num = “3”. So its a string. so I do num=num-0 to make it a number instead of a string. And it doesn’t work so I do a trace on num and it comes back as undefined… which is what I dont understand, how can it be “3” and undefined at the same time… please help…
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Converting Data Type Problem | 4 | 45 | September 17, 2004 | |
Question about converting datatypes
|
0 | 38 | October 4, 2004 | |
"Number of a string VS Number of a number" AKA Conversion problems, help! | 0 | 123 | July 14, 2011 | |
Loading external variables, problem with string to num
|
11 | 173 | April 9, 2002 | |
Question about converting datatypes
|
5 | 34 | October 4, 2004 |