f_byteorder.ihlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· IHLP 代码 · 共 15 行

IHLP
15
字号
{* 02feb2005}{...}
{phang}
{cmd:byteorder()} returns 1 if
	your computer stores numbers using a hilo byte order and evaluates to
	2 if your computer stores numbers using a lohi byte order.  Consider
	the number 1 written as a 2-byte integer.  On some computers (called
	hilo), it is written as {bind:"00 01"} and on other computers (called
	lohi), it is written as {bind:"01 00"} (with the least significant
	byte written first).  There are similar issues for 4-byte integers,
	4-byte floats, and 8-byte floats.  Stata automatically handles byte
	order differences for Stata created files.  Users need not be
	concerned about this issue.  Programmers producing custom binary files
	can use {cmd:byteorder()} to determine the native byte ordering; see
	{helpb file}.{p_end}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?