This project has moved. For the latest updates, please go here.

Pseudo Local

Save variables for local use in subroutines like following manner.
Sub Factorial
  ' param n
  ' return f
  Stack.PushValue("local", i)
  f = 1
  For i = 1 To n
    f = f * i
  EndFor
  i = Stack.PopValue("local")
EndSub

Last edited Jan 18, 2016 at 6:37 AM by Nonki, version 3