使用 input () 还是 put() 转换变量数据类型取决于 source data type 和 target data type。对于 input() 和 put(),有四条原则:
- PUT() always creates character variables
- INPUT() can create character or numeric variables based on the informat
- The source format must match the source variable type in PUT()
- The source variable type for INPUT() must always be character variable
EXAMPLE :
Convert Raw to Returned | Function Call | Raw Type | Raw Value |
|