// list the strings in the avpdb void cmd_ls(void) { int start = STARTDB; for (;;) { // find the next entry start = findoccupied(start); if (start == FAIL) return; eeputs(start); msgp(M_defmacro); start = findend(start); eeputs(start); spb('"'); speol(); start = findend(start); } }
void showTaskList(void) { byte slot; for (slot = 0; slot < NUMTASKS; slot++) { if (tasklist[slot] != SLOT_FREE) { printInteger(slot, 0, ' '); spb(':'); spb(' '); eeputs(tasklist[slot]); speol(); } } }
// list the strings in the avpdb void cmd_ls(void) { int start = STARTDB; for (;;) { // find the next entry start = findoccupied(start); if (start == FAIL) return; msgp(M_function); spb(' '); eeputs(start); spb(' '); spb('{'); start = findend(start); eeputs(start); spb('}'); spb(';'); speol(); start = findend(start); } }