nextCommandRecordId

fun nextCommandRecordId(recordId: Int): Int

Returns the next retained command record after recordId.

Prompt-only records are skipped. If recordId is not retained, no neighbor is inferred.

Return

next command record id, or 0 when none exists.

Parameters

recordId

retained command record id.