| /*the variables name in sas don't distinguish between capital letter and lower case . but for character variables , the value should distinguish it . */ data temp; city='beijing'; city1='Beijing'; run; data temp2; input a b; datalines; 1 2 2 . 3 2 2 . ; /*in sas , use dot when the value is default. */ run; data temp3; length a$ 6; /*use length specify the variable's length.*/ input a$; datalines; 123564 231066 654123 ; run; data temp4; a='I'; b='Love'; c='You'; d=a||b||c; /*the operator || means combine several variables.*/ run; data temp5; a=6; b=3; c=a<>b; /*the operater of <> means get the grater value , and the operator >< means get smaller latter.*/ d=a><b; run; |



雷达卡



京公网安备 11010802022788号







