Groups
Groups
Sign in
Groups
Groups
Kdb+ Personal Developers
Conversations
About
Send feedback
Help
why does this not halt?
27 views
Skip to first unread message
Jack Andrews
unread,
Apr 19, 2012, 7:23:55 AM
4/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kdb+ Personal Developers
i:1;while[~i=3;{x::y}[`i;3]]
Charles Skelton
unread,
Apr 19, 2012, 8:14:55 AM
4/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to personal...@googlegroups.com
because it is setting local x to 3.
inside a function, :: sets global when the local is not defined.
here x is implicit arg.
use set instead
Reply all
Reply to author
Forward
0 new messages