由买买提看人间百态

topics

全部话题 - 话题: nrbquote
(共0页)
D******n
发帖数: 2836
1
来自主题: Statistics版 - 新手问个问题 (转载)
create a .vim directory under you home directory(there is a dot before
vim)
and then create a syntax directory under it
and then create a sas.vim file under the syntax directory
==============sas.vim======================
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn case ignore
syn region sasString start=+"+ skip=+\\|\"+ end=+"+
syn region sasString start=+'+ skip=+\\|\"+ end=+'+
" Want region from 'cards;' to ';' to be captured (Bob Heckel)
sy... 阅读全帖
j*****7
发帖数: 4348
2
来自主题: Statistics版 - SAS里面quoting function的用法问题
想用一个parameter variable把%输入到macro variable里面, 下面这段code为什么
不行呢?
%macro text (comments = );
data text;
comm = "&comments";
run;
%mend;
%text(comments = %nrstr(%));
proc print data = text;
run;
试了什么%nrbquote, %superq 也不好用.
Thanks!
f******u
发帖数: 250
3
来自主题: Statistics版 - SAS里面quoting function的用法问题
%macro text (comments = );
%let a=&comments;
data text;
comm = "&a";
run;
%mend;
%text(comments = %nrbquote(%));
f******u
发帖数: 250
4
来自主题: Statistics版 - SAS里面quoting function的用法问题
this works too.
%macro text (comments = );
data text;
comm = "&comments";
run;
%mend;
%text(comments = %nrbquote(%));
m*****6
发帖数: 36
5
来自主题: Statistics版 - %quote and %bquote
这个是从sas 网站找的 ,如果是这个区别的话,是不是所有用%quote的地方都可以用
%bquote代替啊
The %BQUOTE and %NRBQUOTE functions do not require that quotation marks
without a match be marked with a preceding % , while %QUOTE and %NRQUOTE do.
(共0页)