[Gambas-user] module/comp how to made like gambas normal

2017-10-15 Thread PICCORO McKAY Lenz
i want to make a component that their rutines can be uses directly and not
"module.subrutine(arg)" i like th use as "rutine(arg)"

hoq cab i made that?


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] module/comp how to made like gambas normal

2017-10-15 Thread Tobias Boege
On Sun, 15 Oct 2017, PICCORO McKAY Lenz wrote:
> i want to make a component that their rutines can be uses directly and not
> "module.subrutine(arg)" i like th use as "rutine(arg)"
> 
> hoq cab i made that?
> 

AFAIK real routines have to be built into the compiler so you can't add
them with just a component. However, you can make a module, say MyFunc,
and give it the special _call method [1]. The you can use the module name
like a function, i.e. call MyFunc(), and it will call the _call() method.

Regards,
Tobi

[1] http://gambaswiki.org/wiki/cat/special

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas mailing-list leaving SourceForge!

2017-10-15 Thread Benoît Minisini via Gambas-user

Hi,

Thanks to Christof Thalhofer and Hostsharing.net, we have now a 
dedicated mailing-list server for Gambas, and so we can leave 
SourceForge mailing-list.


Since a few weeks, SourceForge prevents me from accessing the list of 
subscribers, so people have to manually subscribe to the new 
mailing-list one by one.


The server is hosted at: http://lists.gambas-basic.org

There is one mailing-list at the moment, named "User". Additional 
mailing-list will be able to be added freely according to the needs.


The Gitlab Gambas repository will now be able to send all commits to a 
new "Commit" mailing-list. The Bug Tracker will send its mails to the 
"User" mailing-lists, as everybody may be interested in bug fixes.


Once that done, the SourceForge mailing-list will be deactivated.

I will update the website as soon as possible. The website is now the 
only thing hosted by SourceForge.


If you have any questions, please ask.

Best regards,

--
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] module/comp how to made like gambas normal

2017-10-15 Thread PICCORO McKAY Lenz
interesting.. so for each funtion a module.. umm ok thanks

but that info must also be in the wiki...

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-10-15 15:00 GMT-04:00 Tobias Boege :

> On Sun, 15 Oct 2017, PICCORO McKAY Lenz wrote:
> > i want to make a component that their rutines can be uses directly and
> not
> > "module.subrutine(arg)" i like th use as "rutine(arg)"
> >
> > hoq cab i made that?
> >
>
> AFAIK real routines have to be built into the compiler so you can't add
> them with just a component. However, you can make a module, say MyFunc,
> and give it the special _call method [1]. The you can use the module name
> like a function, i.e. call MyFunc(), and it will call the _call() method.
>
> Regards,
> Tobi
>
> [1] http://gambaswiki.org/wiki/cat/special
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] module/comp how to made like gambas normal

2017-10-15 Thread Christof Thalhofer
Am 16.10.2017 um 04:04 schrieb PICCORO McKAY Lenz:
> interesting.. so for each funtion a module.. umm ok thanks
> 
> but that info must also be in the wiki...

Please subscribe to:

https://lists.gambas-basic.org/listinfo/user
You are posting to the old Mailinglist.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user