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:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C++ ;
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.
On 24/02/2010 at 00:23, xxxxxxxx wrote:
Use ReadChar for text files. ReadWord and ReadLong are for binary formats to read integers.
On 24/02/2010 at 01:47, xxxxxxxx wrote:
On 24/02/2010 at 01:49, xxxxxxxx wrote:
Just out of curiosity:
What is the difference between LONG, VLONG and WORD?
On 24/02/2010 at 01:54, xxxxxxxx wrote:
WORD = 16bit integer
LONG = 32bit integer
VLONG = variable length integer (e.g. 64bit)