logo
  • 教程列表
  • SO官方文檔
  • 可變長度
    • 為字元變數分配長度
  1. StackOverflow 文件
  2. sas 教程
  3. 可變長度
  4. 為字元變數分配長度

為字元變數分配長度

Created: November-22, 2018

data table;
set table;
length state_full $8;
if state = 'KS' then state_full = 'Kansas';
else if state = 'CO' then state_full = 'Colorado';
else state_full = 'Other';
run;
  • 可變長度

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明