Search found 1 match

by PartTimeCoder
Wed Jul 05, 2017 5:16 am
Forum: Coding Questions
Topic: Anyone figured out scopes with inline JS functions?
Replies: 3
Views: 3468

Re: Anyone figured out scopes with inline JS functions?

Its not a scope issue, SpiderBasic does not compile procedures that are not called in SB code so your example will not work, adding a call to the function makes SB compile the proc and it calls from JS, strange behaviour!!

Procedure ddd(text.s)
Debug text
EndProcedure

Procedure fff()
!function ...