[Gambas-user] How to fill an array of strings ?

Julio Sanchez jusabejusabe at ...626...
Thu Mar 27 08:40:11 CET 2014


You can do it as follows:


Public English as new string[]


Public Sub EnglishFillArrayString()

English=Split("go,am,me,on,by,to,up,so,it,no,of,as,he,if,an,us,or,in,is,at,my,we,do,be,and,man,him,out,not,but,can,who,has,may,was,one,she,all,you,how,any,its,say,are,now,two,for,men,her,had,the,our,his,been,some,then,like,well,made,when,have,only,your,work,over,such,time,were,with,into,very,what,then,more,will,they,come,that,from,must,said,them,this,upon,great,about,other,shall,every,these,first,their,could,which,would,there,before,should,little,people",",")

End




2014-03-27 6:27 GMT+01:00 Pino Zollo <pinozollo at ...626...>:

> Hi,
>
> This works fine:
>
> Static Public English As String[] = ["go", "am", "me", "on", "by", "to",
> "up", "so", "and", "man", "him", "out", "not", "but", "can", "who"]
>
>
>
> But the following, with 100 words does not work:
>
> Static Public English As String[] = ["go", "am", "me", "on", "by", "to",
> "up", "so", "it", "no", "of", "as", "he", "if", "an", "us", "or", "in",
> "is", "at", "my", "we", "do", "be", "and", "man", "him", "out", "not",
> "but", "can", "who", "has", "may", "was", "one", "she", "all", "you",
> "how", "any", "its", "say", "are", "now", "two", "for", "men", "her",
> "had", "the", "our", "his", "been", "some", "then", "like", "well",
> "made", "when", "have", "only", "your", "work", "over", "such", "time",
> "were", "with", "into", "very", "what", "then", "more", "will", "they",
> "come", "that", "from", "must", "said", "them", "this", "upon", "great",
> "about", "other", "shall", "every", "these", "first", "their", "could",
> "which", "would", "there", "before", "should", "little", "people"]
>
>
> Too many :-(
>
> Is there a work-around ?
>
> Thanks
>
> Pino
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list