Reading from Textfile
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/02/2010 at 08:43, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C++ ;---------
Hi all,might be a very quick and simple question, but could not find an answer anywhere so far:
From the BaseFile class, which of the Read... commands work on text files?
I know that ReadChar does work, and ReadString only works in binaries.
What does ReadWord do? Does a ReadLong work from a text file?Thanks for help.
Best regards,
Juergen -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/02/2010 at 00:23, xxxxxxxx wrote:
Use ReadChar for text files. ReadWord and ReadLong are for binary formats to read integers.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/02/2010 at 01:47, xxxxxxxx wrote:
Thanks.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/02/2010 at 01:49, xxxxxxxx wrote:
Just out of curiosity:
What is the difference between LONG, VLONG and WORD? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/02/2010 at 01:54, xxxxxxxx wrote:
WORD = 16bit integer
LONG = 32bit integer
VLONG = variable length integer (e.g. 64bit)cheers,
Matthias