-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On August 2, 2014 4:51:41 PM GMT+03:00, sinbad <sinbad.sin...@gmail.com> wrote:
>Thanks for the reply, that did the trick,
>i was expanding on the program, now i'm
>hitting the following issue, when i run
>the following program, i'm getting these
>errors. and also for the 'fmt' whats the
>difference between ' ' and " " ?, for the
>first printf at 4, it works only if i use
>' '
>
>E116: Invalid arguments for function printf('%s',
>E15: Invalid expression: printf('%s',
>E116: Invalid arguments for function printf('%s',
>E15: Invalid expression: printf('%s',
>E116: Invalid arguments for function printf('%s',
>
>
>  1 function! Test()
>  2     for a in range(1,20)
>  3         for b in range(1,20)
>  4             $put=printf('00:00:83:02:%x:%x', a , b)
>  5             $put=printf('%s', "test")
>  6         endfor
>  7     endfor
>  8 endfunction
>
>--
>--
>You received this message from the "vim_use" maillist.
>Do not top-post! Type your reply below the text you are replying to.
>For more information, visit http://www.vim.org/maillist.php
>
>---
>You received this message because you are subscribed to the Google
>Groups "vim_use" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to vim_use+unsubscr...@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

" is the comment character. It is handled differently depending on the command: 
some commands allow no comments, some expect double-quoted strings. For :put " 
starts the comment *always*.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI1BAEBCgAfBQJT3OBCGBxaeVggPHp5eC52aW1AZ21haWwuY29tPgAKCRCf3UKj
HhHSvg0PD/kB1MPk2eWO+OasuVEug734HGOB54my4WYRz2oK4hpjr3gvjYVH7PZh
STGjk1zBpKRAClulLTWI/+VVHk8x3QSMDMEPKaInrCIAQP4Ht1UnO8boLmFEk/AE
1Sb5Jgn6uvcujd+SnF1X/XdQF9hukSAFx/zsuIvLcGpXjt+ETCWQN3UkWQSp5TlM
u+yk24eyRWhKpW8HeWz2RM4BhMCorKkBcz96UnuLkKxckoEtImu/kB2+uH4PlMbq
AXGkpuKm0qTxTQzHk6zLTDhLFkSbGdkHmFUTtTCzGBTBToa8cMpPxeIs4hDFxUoE
UzBJfbeGJ29fFc9QbfUYH+0yHuPONNXVPFXofEjsUEjcOv7djqBhQ6ck+OTYnGzS
zt8BYEQlRsJZ47uD2EHomTnsK6GEne8/bWNPIgK4PRWXhLPnXrgOMGF7Xiv11p4w
ngDMkx3PTTb4gwMIwwfs1ukKr/4PSKT7/NT8APIM8iqoRfYdxWDW8g2WRw9mIPdv
M2VSfLR5zj2zqWx0yz58Cs68GiIJzLwr+r/GLi4dZmOosr6N23UFqJNc2mfYulrA
SwqUybvsag0zMaOAQJRnjE0z+nwp8UyTuOj3SujpcWR4JK2nfXV4Y6CpOfDCH+ZC
nY6hVh89/UTcu0L88oeO4ygtzusNNWYcGHDdT39Nilb1BlgeP6Uchw==
=6/XR
-----END PGP SIGNATURE-----

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to