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 | 70 | September 17, 2004 | |
Loading external variables, problem with string to num
|
11 | 209 | April 9, 2002 | |
Convert To String | 2 | 108 | January 31, 2002 | |
Variable Types: integers vs strings? | 0 | 102 | October 22, 2005 | |
Really strange substring problem
|
0 | 55 | June 22, 2005 |