[Gambas-user] Scripter as a component
Benoît Minisini
g4mba5 at gmail.com
Tue Mar 23 01:14:42 CET 2021
Le 23/03/2021 à 00:35, Brian G a écrit :
> Scripter can be a component:
>
> Scripter can be integrated into an application as a component to manage
> script/text based type plugins
>
> in app code the following:
>
> for now add:
> Public Scripter as object
> ......
> component.load(system.find("gbs3")) t
> dim cClass as Class = class.load("Scripter")
> Scripter as object = cClass.new()
>
> Or perhaps gbs3 could be linked to the gambas component directory
> /usr/share/lib/gambas3 as gb.scripter
> Then use "gb.scripter" would work or in ide just check the gb.scripter
Yes. If you want the scripter to be used as a component, it must become
"gb.scripter".
Then "gbs3" could be a link to it, or just a small program that uses the
component to run scripts.
--
Benoît Minisini
More information about the User
mailing list