AMOSi:Dev Next$
an example can be found on AMOSPro_Examples:Examples/H-6/Help_67.AMOS
Returns the NEXT DEVice name that satisfies the filter used by a previous DEV FIRST$ call. If the end of the device list is reached, a blank string will be returned.
dev$=Dev Next$