Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array initialization doesn't work #119

Open
nonkit opened this issue Nov 4, 2019 · 0 comments
Open

Array initialization doesn't work #119

nonkit opened this issue Nov 4, 2019 · 0 comments
Labels
pri/3 Priority 3 - Something that can be done in SBO 1.1 or later type/runtime Issues related to runtime engine

Comments

@nonkit
Copy link
Member

nonkit commented Nov 4, 2019

Following code prints three lines contains "One", "Two" and "Three" in Small Basic Desktop. Because the first line of the code initializes the variable arry as an array. But nothing will be printed in Small Basic Online because the variable is set as a string.

arry = "1=One;2=Two;3=Three;"
For i = 1 To 3
  TextWindow.WriteLine(arry[i]) ' print One/Two/Three
EndFor

This issue is filed to recognize SBD parity.

@nonkit nonkit added the type/runtime Issues related to runtime engine label Nov 4, 2019
@Caseysch Caseysch added the pri/3 Priority 3 - Something that can be done in SBO 1.1 or later label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pri/3 Priority 3 - Something that can be done in SBO 1.1 or later type/runtime Issues related to runtime engine
Projects
None yet
Development

No branches or pull requests

2 participants