[Gambas-devel] Component for universally unique identifier (UUID)

Benoit Minisini gambas at ...1...
Sun Jan 28 23:05:27 CET 2007


On Wednesday 24 January 2007 20:11, Charlie Reinl wrote:
> Am Mittwoch, den 24.01.2007, 17:49 +0100 schrieb Benoit Minisini:
> > On Monday 22 January 2007 00:15, Charlie Reinl wrote:
> > > Salut Benoît,
> > >
> > > I made a gambas Component who return an  universally unique identifier
> > > (UUID) In the attachment you find the sources and also the help for
> > > Wiki.
> > >
> > > The Component was made with gambas2-1.9.20
> > > They still work well on gambas2-1.9.47
> > >
> > > There is no check for needed lib's.
> > >
> > > I would like to see them checked in into the svn tree.
> > >
> > > Amicalment
> > > Charlie
> >
> > Why do you want to create a component that just do:
> >
> > SHELL "uuidgen" TO uuid ?
>
> Salut,
>
> 1. I can't write it in C.
> 2. I need it often and in nearly all projects.
> 3. And  with a component I can use it in every project.
>
> But you can tell me, how and where I can make local components, so there
> is no need to get it into the main-tree !
>
> Till now I always have to look, and add it in ../comp/src/order when I
> update gambas2.
>
> Amicalment
> Charlie
>

The problem is that making a component just for doing one line of code is too 
heavy!

I plan to make a 'gb.desktop' component in the future based on the Portland 
project. This component will include many desktop-agnostic functions 
(creating an icon, running a browser, a e-mail client...). 

Maybe your function could be put in this component?

-- 
Benoit Minisini




More information about the Devel mailing list