Got it! Have to specify calling function in 'In' part of stop manager
--
For information about J forums see http://www.jsoftware.com/forums.htm
NB.***in ijs**
f0=: 3 :0
f1 3
)
f1=:3 :0
a=.3+y
b=.3+a
c=.3+b
)
** In ijx:
13!:3'f0 0'
f0 10
single step to f1[2]
run cursor over f1[1]
click on stop manager,then stop
f0=:3 :0
f0z0=.3+y
f0z1=.2+f0z0
a=.>:f0z1
)
fx=:3 :0
b=.4
f0 3
)
13!:3'fx 0'
fx 4
after going to fx[0] (stopped), step into f0.
hit enter twice for next 2 lines
put cursor on first line,click stop manager, click stopline.
no effect on this line
Has stop manager in j602 been disabled?
--
For information about J forums see http://www.jsoftware.com/forums.htm
Has it been disabled?
--
For information about J forums see http://www.jsoftware.com/forums.htm
I installed j602 on Windows 7. The shortcut for j602 did not automatically
come up so I copied the shortcut from the blue icon in j602\bin.
However there is now no yellow jbreak icon in this folder...I think there
used to be
Can't find jbreak anywhere else...Has this been abandoned?
-
Yea, sorry should have included all code. See below:
LIST1=: 0 : 0
pc list1;
menupop "File";
menu new "&New" "" "" "";
menu open "&Open" "" "" "";
menusep;
menu exit "&Exit" "" "" "";
menupopz;
xywh 136 8 44 12;cc ok button;cn "OK";
xywh 136 23 44 12;cc cancel button;cn "Cancel";
xywh 64 1 60 60;c
Is there anyone out there still using J602 Form Editor?
I have a problem with listbox.
I want to assign a variable to the word in the list selected by cursor.
I’m using code borrowed from the Lab controls demo:
I’ve put the code in ‘Ok’ button and created an edit control (name)to
display
I've got it. I already had a stop on the function, and stop line only
works for a single line;if there's already a stop on the function it
does nothing.
--
For information about J forums see http://www.jsoftware.com/forums.htm
It's j602 with Windows XP.
By clicking on 'stop Manager' in the debug toolbar you get a screen
with 2 buttons:'Stop line' and 'Stop All Lines'
'Stop All Lines' works.
I thought 'stop line' inserted a stop at cursor (the pgm one is
stopping is in another window underneath the 2 buttons), but it
d
with
f0=:3 :0
f0z0=.3+y
f0z1=.2+f1 f0z0
a=.>:f0z1
+'*'
)
and debug on, in stop manager with cursor on line 1, clicking 'stop
line' has no effect. I thought it should stop at the line indicated by
cursor.
--
For information about
Got it; you put your finger on it: I thought the current definition
was the calling function.
Also the icons on the debug toolbar for 'step over' and 'step out' now
make total sense
Thanks
Adam
--
For information about J forums s
...because with 'step out' there is no stop on returning to the
calling function; it runs straight to the end of the calling function
--
For information about J forums see http://www.jsoftware.com/forums.htm
In the User Manual there is the following:
"step out
F8
continue execution at the run line, stopping on the next line of the
calling function. Does not stop again in the current definition,
except where stops have been set."
The phrase 'stopping at the next line of the calling function' should
Can someone explain to me the difference between 'step over' and 'step
out' in debug? With the attached code I get identical results.
--
For information about J forums see http://www.jsoftware.com/forums.htm
I've tried re-installing j602. The problem is still there:
entering '' nothing displayed on screen from first quote until
second quote, after which '' displayed
Tried changing keyboards too. No change.
--
For information about J fo
if I enter 'string' it diplays nothing until the closing quote, then
displays 'string' correctly
--
For information about J forums see http://www.jsoftware.com/forums.htm
in ijx if I enter a single quote nothing happens; on entering a second
single quote the response is 2 single quotes. I can't define strings.
(This happened after running the files Lab)
--
For information about J forums see http://w
Below is form:
PLANETS=: 0 : 0
pc planets;
xywh 6 7 50 10;cc ccstatic static;cn "Place:";
xywh 61 4 51 11;cc placef edit;
xywh 5 19 51 10;cc ccstatic static;cn "Date (y m d):";
xywh 61 18 50 11;cc datef edit;
xywh 5 32 50 10;cc ccstatic static;cn "Lat(+ve N) deg dec";
xywh 61 30 50 11;cc latf edit
Hi Bill
I've tried inserting the wd editm line between rem form end and )
and also after )
In both cases the form does'nt display
(It displays ok without this additional line)
--
For information about J forums see http://www.jsof
Using Form Editor in J602,I want to create a multiline edit
wd 'set editm2 *',
Therefore, I don’t want the editm2 in the form initialization verb
ie _run. This case is’nt covered in the documentation.
--
For information about J for
21 matches
Mail list logo