Name

Sequencer::WS_next — Find a next item in the sequence

Synopsis

Import Sequencer;
any Sequencer::WS_next ( map  sequence ,
  string  current ,
  symbol  ret );

Parameters

map sequence

sequence of dialogs

string current

current dialog

symbol ret

returned value (determines the next dialog)

Return Value

any

next dialog (symbol), WS action (string) or nil, if error (current or next not found)