in j802+,

wd 'mb input text "enter animal" "type here then press ok: " "default cow"'

seems useful.



----- Original Message -----
From: Brian Schott <[email protected]>
To: Programming forum <[email protected]>
Cc: 
Sent: Tuesday, February 17, 2015 10:31 AM
Subject: [Jprogramming] locale and prompt

The following is the beginning of my revised version of the script at this
link.

http://www.jsoftware.com/jwiki/Essays/AnimalsGame?action=AttachFile&do=get&target=animals_oleg.ijs

*************script below*************

NB. require 'files strings misc'
require 'files strings'
require'~addons/general/misc/prompt.ijs'

coclass 'panimals'

FNAME=: jpath'~user/animals_oleg.txt'

*************script above*************

​My question is how can the script be altered so that when the verb prompt
is called in the verb `ask`, `prompt` can be used instead of `prompt__`?​

-- 
(B=)
----------------------------------------------------------------------
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