Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Reading numbers from file Problem

Author
Message
GeeB
21
Years of Service
User Offline
Joined: 9th Jul 2003
Location:
Posted: 10th Jul 2003 03:37
Im trying to read an integer from a file using the read file command. I opend the file and everything. When it reads in and i print it out, its shows up as some huge number like 825438769. When i read it in as a string it works fine showing 1254. Although i need it to be a number so i can use it as coodinants for object placement. I've tried reading it in as a float and a word. Both of these give me odd results as well.
GeeB
21
Years of Service
User Offline
Joined: 9th Jul 2003
Location:
Posted: 10th Jul 2003 04:13
Never mind. I just solved the prob using the val command to convert the string to a number.

Login to post a reply

Server time is: 2024-11-24 22:55:32
Your offset time is: 2024-11-24 22:55:32