Gents,
I tried different ways of doings this but no cigar. The following code did not work among others.
-----------------------------------
structure arrayx
dim str1 as string[10]
end structure
dim my_array as array[100]
-----------------------------------
Has anyone been successful at implementing string arrays? I just want to create and manipulate an array of 100 strings each 5 characters long.
Thanks for your help.
Creating arrays of string type MikroBasic PRO or regular
Re: Creating arrays of string type MikroBasic PRO or regula
You are right, it won't compile on the current beta.
I tested it with the incoming version (this week) and it works OK, which means it was fixed in the meantime.
Thanks for the bug report.
I tested it with the incoming version (this week) and it works OK, which means it was fixed in the meantime.
Thanks for the bug report.
Re: Creating arrays of string type MikroBasic PRO or regula
zristic,
Thanks for the quick response. You stated "this week". Does this mean you are planning to release the fix this week? Pls advise.
I've been working on strings for about two weeks without much meaningful success. I need to implement something like this so badly.
Best regards,
Ed
Thanks for the quick response. You stated "this week". Does this mean you are planning to release the fix this week? Pls advise.
I've been working on strings for about two weeks without much meaningful success. I need to implement something like this so badly.
Best regards,
Ed
edg962 wrote:Gents,
I tried different ways of doings this but no cigar. The following code did not work among others.
-----------------------------------
structure arrayx
dim str1 as string[10]
end structure
dim my_array as array[100]
-----------------------------------
Has anyone been successful at implementing string arrays? I just want to create and manipulate an array of 100 strings each 5 characters long.
Thanks for your help.
Re: Creating arrays of string type MikroBasic PRO or regula
The idea was to have it released today, but we discovered few new problems, so we postponed it for the next week. It is better to fix the problems and to wait for a little while.
Re: Creating arrays of string type MikroBasic PRO or regula
Zristic,
Can you please advise me when this week you plan to release the patch? Some kind of eta, please.
Can you please advise me when this week you plan to release the patch? Some kind of eta, please.
zristic wrote:The idea was to have it released today, but we discovered few new problems, so we postponed it for the next week. It is better to fix the problems and to wait for a little while.
Re: Creating arrays of string type MikroBasic PRO or regula
mikroPascal for AVR either today or tomorrow, mikroBasic probably in 3 days after mP.
Re: Creating arrays of string type MikroBasic PRO or regula
Zristic,
Thank you for your reply. I will certainly be eagerly waiting.
Best regards,
Ed
Thank you for your reply. I will certainly be eagerly waiting.
Best regards,
Ed
[/quote]zristic wrote:mikroPascal for AVR either today or tomorrow, mikroBasic probably in 3 days after mP.