[Gambas-user] Scripter as a component

Brian G brian at westwoodsvcs.com
Tue Mar 23 01:55:46 CET 2021


Ok, how does one go about doing the first, create gb.scripter and create a link in /usr/bin for gbs3 and gbw3?
What has to be changed
--
Thanks
Brian Monday, 22 March 2021, 05:15PM -07:00 from Benoît Minisini  g4mba5 at gmail.com :

>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
>
>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210323/7e3a950a/attachment-0001.htm>


More information about the User mailing list