関数を考えてみましょう。
function! Test()
:let aString = "I'm a string!"
:!echo aString
endfunction
ここ:call Test()で、次のパイプを BASHに入力します。
aString
Press ENTER or type command to continue
:!echoの値はどのように取得できaStringますか?
ありがとう!
関数を考えてみましょう。
function! Test()
:let aString = "I'm a string!"
:!echo aString
endfunction
ここ:call Test()で、次のパイプを BASHに入力します。
aString
Press ENTER or type command to continue
:!echoの値はどのように取得できaStringますか?
ありがとう!