Hi,
could you please add to help how to declare array of string.
Thanks Thopas
array of string
Re: array of string
Hi,
it will be added. Thanks.Thopas wrote:Hi,
could you please add to help how to declare array of string.
Thanks Thopas
Code: Select all
typedef ss as string[5]
dim buff as ss[5]
Re: array of string
Please answer only if (when) you have the time for this. My question is only theoretical. Why this construction? Since strings are arrays why not declare an array of string like this dim string[10][20]? It is much more readable.
I do not know if i recocognize the array of string when i read a programm text with type def....
foravr
I do not know if i recocognize the array of string when i read a programm text with type def....
foravr
Re: array of string
Perhaps sometimes there is a little time...
I want to understand.
foravr
I want to understand.
foravr
Re: array of string
- What would be logical interpretation of string[10][20]? String is an array of characters, what is string of strings? String has an null terminating character at the end, so what would be the first dimension of this string of strings? 10 or 11 (including null char)?foravr wrote:Please answer only if (when) you have the time for this. My question is only theoretical. Why this construction? Since strings are arrays why not declare an array of string like this dim string[10][20]? It is much more readable.
- You should name your string typedef in a way which will make this obvious, i.e. let them begin with str_ prefix.foravr wrote:I do not know if i recocognize the array of string when i read a programm text with type def....
foravr
Re: array of string
Thanks for your sight. And for your time.
I have another view. And other software developers have that too. You know that. But you have made a new basic that is really serious. Thanks for that.
I like it very much.
Where else you can find compilers so sophisticated for 8-bitters and (16ers) with this possibility of portability. Never had a tool like that before. Today 8051 and tomorrow AVR or PIC and that with my limited knowing of basic language . Great!!
foravr
I have another view. And other software developers have that too. You know that. But you have made a new basic that is really serious. Thanks for that.
I like it very much.
Where else you can find compilers so sophisticated for 8-bitters and (16ers) with this possibility of portability. Never had a tool like that before. Today 8051 and tomorrow AVR or PIC and that with my limited knowing of basic language . Great!!
foravr