Skip to content

[question] Declare methods in scripts #72

Open
@lofcz

Description

@lofcz

Hi, I'm not quite sure if I missed this in the docs, but is something like this possible?

[void] myMethod([int] a) {

}

myMethod(1);

running the above from new EE().ScriptEvaluate(), myMethod is defined inside of script, not on input / context, [] means optional.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions