Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function! SaveUnnamedRegTo()
- call inputsave()
- let regKey = input('Enter key: ')
- call inputrestore()
- let "@" . regKey = @@
- endfunction
- "When I call the function and feed it a letter:
- Enter key: hError detected while processing function SaveUnnamedRegTo:
- line 4:
- E475: Invalid argument: "@" . regKey = @@
- Press ENTER or type command to continue
Add Comment
Please, Sign In to add comment