Once upon a time... there was DATA in Basic to handle such things.

Today I usually put such strings in a file to have them loaded. Linux 
file handling is so fast that it doesn't play a role when your program 
loads the strings at program start or when they're needed for the first 
time.

And the advantage is, the user can change the contents without having to 
recode the application.

When you put the strings like
go
am
me
on
by
to

in a file and then load them by

English = Split(File.Load("pathToFile"), chr$(10))

that's all you need. Would this be a solution?

Rolf





Am 27.03.2014 06:27, schrieb Pino Zollo:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to