WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

When calling a function, it gets all variables from the higher scope #5

@peter-lyons-kehl

Description

@peter-lyons-kehl

When running a function, it inherits all variables from the higher scope.

Command Target Value
call outer variable='Hello'
function outer variable
call inner
endFunction
function inner
getEval LOG.warn( 'inner: variable: ${variable}' )
endFunction

Se IDE 2.5.0, SelBlocks 2.0.1.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions