[Gambas-user] gb.test

Benoît Minisini g4mba5 at gmail.com
Sun Jan 5 00:44:18 CET 2020

Le 04/01/2020 à 14:52, Christof Thalhofer a écrit :
> Am 04.01.20 um 14:30 schrieb Christof Thalhofer:
>> Please merge https://gitlab.com/gambas/gambas/merge_requests/123
> Argh, this one was corrupted, fixed in:
> https://gitlab.com/gambas/gambas/merge_requests/124
> Alles Gute
> Christof Thalhofer

Class.Stat() is implemented in 'gb.util'.

When you write a component project, the components checked in the 
"Components" tab are just the component loaded when you run the project.

You must indicate that the component *depends* on 'gb.util' in the 
"Information" tab, by clicking on the "Require" button.

Component dependencies are not necessarily the same thing as components 
needed to run the component project.

For example a component may require any component that implements GUI, 
and its project will use the 'gb.qt5' component for testing purpose.

These dependencies are used by the IDE to statically create the list of 
all components that will be loaded by the project at startup.

Yes, the dependencies of a project are static, not dynamic. If the list 
created by the IDE is incorrect, you will usually get "unknown class" 
and/or "unknown symbol" errors at runtime.


Benoît Minisini

More information about the User mailing list