[Gambas-user] ubound lbound

Frank Berg frankberg at ...390...
Tue Apr 6 06:36:37 CEST 2004


hi,

how can i ask ubound and lbound values in an array

snip ---------------------

    dim s as string[]

    s=split("1 2 3 4"," ")

    print lbound(s)
    print ubound(s)

output ------------------------

    lbound=0
    ubound=3

snap -------------------------


frank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040406/1417ba31/attachment.html>


More information about the User mailing list