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 | 62 | September 17, 2004 | |
Loading external variables, problem with string to num
|
11 | 196 | April 9, 2002 | |
Convert To String | 2 | 104 | January 31, 2002 | |
String not STAYING converted to number?
|
0 | 76 | December 23, 2007 | |
Number Issues | 0 | 80 | December 30, 2007 |