Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is difference between (a-z) and (a--z)

Answer Posted / satish kumar.v

IF you have given this

data k;
input a1 a2 a4 a3;
datalines;
1 2 3 4
5 6 7 8
;
proc print;
var a1--a4;
run;
proc print;
var a1-a4;
run;

the order is taken as priority when ever the a4 occurs then
it will stops processing in the case of a1--a4 i.e it will
display only 3 variables (a1 a2 a4) where as in second case
a1-a4 it will display all the 4 variables with 2 records

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you involved in writing the inferential analysis plan? Tables specfications?

2504


Explain input and put function?

1077


Do you need to know if there are any missing values?

993


Tell e how how dealt with..

2198


How to limit decimal places for the variable using proc means?

995


What is the difference between class statement and by statement in proc means?

1186


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4419


What are the data types that sas contain?

1118


How sas treats the dsd delimiters?

1146


Mention the category in which sas informats are placed?

974


What is the difference between reading data from an external file and reading data from an existing data set?

1119


Mention sas system options to debug sas macros.

1132


Mention what is PROC in SAS?

1004


What do you know about sas and what we do? : sas-grid-administration

1046


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2182