katie/data/scripts/next.qs
Ivailo Monev a45f8b3bd8 convert resources to static data
images are in PNG format for now but that is likely to change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-29 10:17:54 +03:00

27 lines
804 B
Text

name = "next";
group = "running";
shortDescription = "Step program, proceeding through subroutine calls";
longDescription = "Like the \"step\" command as long as subroutine calls do not happen;";
longDescription += "\nwhen they do, the call is treated as one instruction.";
longDescription += "\nIf a number N is given as argument, this will be done N times before execution is stopped.";
aliases = [ "n" ];
seeAlso = [ "step", "continue", "finish", "advance" ];
function execute() {
var count = 1;
if (arguments.length != 0) {
var arg = arguments[0];
// ### evaluate the expression in the current frame?
var num = parseInt(arg);
if (!isNaN(num) && (num >= 1))
count = num;
}
scheduleStepOver(count);
};
function handleResponse(resp) {
}