Author Topic: Can you use !INC in a scriptlet?  (Read 396 times)

steverumsby

  • EA Novice
  • *
  • Posts: 19
  • Karma: +1/-0
    • View Profile
Can you use !INC in a scriptlet?
« on: September 07, 2022, 06:46:03 pm »
I have some diagram scripts (Javascript) that work quite nicely and (now) quickly enough that I thought it would be useful to convert them to scriptlets (EA 16). However, when I do that I get errors on the !INC lines of my code. Is it not possible to include library files into a scriplet? If true, that makes them a whole lot less useful. Or am I doing something wrong?

Steve.

steverumsby

  • EA Novice
  • *
  • Posts: 19
  • Karma: +1/-0
    • View Profile
Re: Can you use !INC in a scriptlet?
« Reply #1 on: September 12, 2022, 07:13:21 pm »
Reply from Sparx support - no you can't, but we'll record it as a feature request for future consideration.

Just in case anybody else trips over this...

Steve.