I'm often debugging and have to repetitively cut/paste large amounts of code onto the ISIS command line. Is there a simple way to do this? For example, if I have: % Lotsa code... for (i = 0; i < length(x); i++) () = printf("%i\n", x[i]); % Lotsa code... % Stuff I want to debug... Let's say I set x = [ 1, 2, 3]. Then I want to execute everything in the "Lotsa code" region, in order to get to the section of code I want to debug. If I encapsulate the "Lotsa code" in a function, then I have to define variables like "i", pass parameters, etc. If I just put the code in a file and call "evalfile", ISIS apparently does some namespace stuff and it doesn't work. What I want is to have a text file with my "Lotsa code" and tell ISIS to execute that text file just as if I had pasted it to the command line. Sorry for the complicated description. (Search for "?" to find the question in this email.) Thanks, Rob ---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribeReceived on Wed Mar 28 2007 - 13:12:43 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT