Posts: 709
Threads: 104
Joined: Nov 2005
Quote:
I have a program that expects a vector as a parameter, e.g.,
MYPROGRAM(a)
BEGIN
...
END;
(a is a vector)
I'm wondering how to debug or run my program from the Program Catalog, because the Program Parameter screen which pops up doesn't appear to allow vectors or matrices to be input.
The program runs fine from the command line with the vector as an argument.
Try:
DEBUG(MYPROGRAM([a,b,c]))
Posts: 193
Threads: 10
Joined: Mar 2008
Hello,
sorry, can't do it as you want, however, there is a serie of workaround:
in home, do debug(myprogram(params))
in your program, place a single debug; instruction where you want debuging to start (it's a breakpoint basicaly)...
these should allow you to fix the bugs that you might have...
cyrille