Unfortuneately I can't seem to make it happen again, and in fact after 
restarting my computer it stopped happening; which makes sense because I am 
using windows. But before I restarted I made it happen several times in a row 
by not including a closing " in the statement. For example.

wd 'picon "c:/this has spaces/icon.ico 0'


>From: Dan Bron <[EMAIL PROTECTED]>
>Date: Tue May 23 13:25:59 CDT 2006
>To: Beta forum <[email protected]>
>Subject: Re: [Jbeta] m beta  crash - picon

>Old bugs die hard:
>
>          wd&.> 'psel';'picon ',(jpath '~binary\j.exe'),' 0'  NB. J crashes 
> here
>
>Maybe this is the error you're running into.  Make sure a form is selected 
>before you call wd 'picon'.  
>
>By the way, I believe there's a bug in the documentation;  
>~system/extras/help/user/wd_commands.htm  says: 
>
>       psel id ; select parent id to be target for subsequent commands
>       psel n ; select parent with qhwnp of n for subsequent command
>
>But I don't believe  wd 'psel ' accepts HWNDs anymore; only ids.  Because the 
>page also says
>
>       qhwndx ; (win32) return HWND (handle) of application
>       qhwndp ; return HWND (handle) of current parent
>
>But 
>          wd 'psel ',wd 'qhwndx'
>       |domain error: wd
>       |       wd'psel ',wd'qhwndx'
>
>          wd'qer'
>       bad id : 0
>
>
>          wd 'psel ',wd 'qhwndp'
>       |domain error: wd
>       |       wd'psel ',wd'qhwndp'
>
>          wd'qer'
>       bad id : 0
>          
>
>Also, the example:
>
>       wd'picon "',(jsystempath 'system\examples\data\jy.ico'),'" 0' 
>
>should be changed to
>
>       wd'picon "',(jpath '~system\examples\data\jy.ico'),'" 0'
>-Dan
>
>
>
>
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to