Documentation de Gambas - /comp/gb.option/getoptions/getalloptions

/comp/gb.option/getoptions/getalloptions

# GetOptions.GetAllOptions (gb.option)

Function GetAllOptions ( ) As String[]

Returns a list of all command line options without the score.

### Examples

    ./options-sample.gambas -abc
    ./options-sample.gambas -a -b -c

    Dim OptionsClass As New GetOptions("abc")

    Dim sElement As String

    For Each sElement In OptionsClass.GetAllOptions()
        Print sElement
    Next

    a
    b
    c