Basic implementation of getNextParam