DEF signal_to_real( )
;CAST_TO AND CAST_FROM
OFFSET_X=0
CAST_TO(BUFFER_X[],OFFSET_X,r_INPUT_OFF_X)
OFFSET_X=0
CAST_FROM(BUFFER_X[],OFFSET_X,ACT_INPUT_OFF_X)
OFFSET_Y=0
CAST_TO(BUFFER_Y[],OFFSET_Y,r_INPUT_OFF_Y)
OFFSET_Y=0
CAST_FROM(BUFFER_Y[],OFFSET_Y,ACT_INPUT_OFF_Y)
OFFSET_A=0
CAST_TO(BUFFER_A[],OFFSET_A,r_INPUT_OFF_A)
OFFSET_A=0
CAST_FROM(BUFFER_A[],OFFSET_A,ACT_INPUT_OFF_A)
END
我这边是这样把数据类型转换了,但请教哪位老师CAST_TO AND CAST_FROM指令什么意思,具体详细指导下
楼主最近还看过