SAS: Can't paste text into user input prompt (using %WINDOW) -


i wondering if there way allow user paste text user input prompt created using %window statement. example, simple code in sas documentation follows:

/** %window defines prompt **/ %window info   #5 @5 'please enter userid:'   #5 @26 id 8 attr=underline   #7 @5 'please enter password:'   #7 @28 pass 8 attr=underline display=no;  /** %display invokes prompt **/ %display info;  %put userid entered &id; %put password entered &pass; 

i have similar 1 of fields asks user put in path folder (like c:\mydocuments\2015\testfolder). path can pretty long , reason cannot paste path name user input field. there sas option allow this?

you auto-populate field clipboard using macro variable generated via previous data step, suppose. if remember syntax correctly:

filename temp clipbrd;  data _null_;   infile temp;   input;   call symput('longvar',_infile_); run;  filename temp clear; 

this require user have copied file path clipboard before running code reads clipboard , opens window.


Comments

Popular posts from this blog

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -