Skip to content

Array breaks after Push and Pop #170

@nonkit

Description

@nonkit

An array will break after Stack.PushValue() and Stack.PopValue(). #119 is a related issue. Sample code is:

e[1] = "one"
e[2] = "two"
e[3] = "three"
DumpE()
Stack.PushValue("local", e)
e = ""
e = Stack.PopValue("local")
DumpE()

Sub DumpE
  If Array.IsArray(e) Then
    For i = 1 To 3
      TextWindow.WriteLine("e[" + i + "]=" + e[i])
    EndFor
  Else
    TextWindow.WriteLine("e = " + e)
  EndIf
EndSub

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/runtimeIssues related to runtime engine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions