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 ...
Search found 1 match
- Wed Jul 05, 2017 5:16 am
- Forum: Coding Questions
- Topic: Anyone figured out scopes with inline JS functions?
- Replies: 3
- Views: 3468