try using msg_print("your message here") if you want them to be printed in game
or note("message here") if they are going to be in an error or something
in general look for a string nearby that could be printed where yours would be 
and steal that code.
if you want to be fancy make a global debug var and put it in an if block, eg
if (DEBUG == True):
{
        msg_print("debug message");
}

oh and dont forget the ';' 's (bane of my coding LIFE)

On 25 Jul 2011, at 20:48, AK wrote:

> I have a function where I added some debug echo messages but they don't seem 
> to show up. The function runs in insert mode. The debug messages neither show 
> up on screen or in :messages listing.
> 
> -ak
> 
> -- 
> 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 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

Reply via email to