Hi Tony, Try ending your script with:
smoutput 'This should display on load.' i.e., smoutput banner since you've already defined that. Best, Marc On Wed, Apr 10, 2013 at 6:49 PM, Anthony O'Malley <[email protected]> wrote: > Greetings all. > > I have searched a lot before posting this (including "Learning J", > "Primer", etc.). > > I want to have a character string display when a script loads that > provides information to the script user. E.g., 'F is a dyadic verb, right > arg date1, left arg date2, both dates single numeric ddmmyyyy.' > > In APL I used to do this with quadLX (latent expression) which displayed > when the workspace was loaded. > > But no matter what I do in a script--mention 'string', OR banner=:'string' > (then mention banner on next line), OR define an explicit verb banner=: 0 : > 0 (and then call banner)--the 'string' will not display when the script is > loaded (as with quadLX). > > I just can't spend any more time experimenting. There's a trick to this in > J. Can anyone provide any help with this simple problem? > > Best, Tony > ------------------------------**------------------------------**---------- > For information about J forums see > http://www.jsoftware.com/**forums.htm<http://www.jsoftware.com/forums.htm> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
