- global-next GRprocedure
Returns the next index for the last item addressed by the given reference. Use the empty string as the final index if you want to obtain the first valid index holding data. If no further index is defined, returns the empty string:
(define g (global "foo")) (global-set! (g 1) "a") (global-set! (g 2) "b") (global-next (g "")) => "1" (global-next (g "1")) => "2" (global-next (g "2")) => ""