Re: Problems with GET.E
- Posted by Robert Craig <rds at ATTCANADA.NET> Nov 18, 1999
- 577 views
Jiri Babor writes: > No matter how hard I try I cannot imagine why on earth > I would want to remove the extra space. Without it the > data is unusable anyway. I was mainly thinking of other situations where print() might be used. print() can be used quite independently of get(), just as get() can be (and usually is) used independently of print(). e.g. puts(1, "there are ") print(1, x) puts(1, " days until the year 2000\n") A knowledgeable user could also do this with printf(), since in this case x is an atom, not a sequence. I don't think it's a big deal if print() and get() do not match perfectly. Anyway, there are cases where using print() to create the input for get() will cause you problems, such as when you have floating-point data, and you need to preserve more than the 10 significant digits that print() gives you. In those cases you will need to use printf() (or for perfect results you should forget about print/get and use atom_to_float64()). Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com