error 'unknown Identifier: Matrix'
Posted
#1
(In Topic #1586)
Regular

I'm following example A here https://gambas-buch.de…=k29:k29.3:k29.3.3:start
e.g.
Code (gambas)
- mMatrix2 = [[1, 1.4, 7 + 2i], [2, 2, 2], [-1, -2i, -3]] ' Inline-Matrix
but get an error 'unknown Identifier: Matrix'
Matrix - as I understand it is part of the gb.gsl component https://gambaswiki.org/wiki/comp/gb.gsl
I'm assuming this component is loaded by default as I can't find in in Project|Properties|Components
Or is something else going on that I don't understand? (highly likely)
Posted
Administrator

You are assuming wrong. You always activate components yourself, unless you loaded the source code into IDE, then it should be activated.DIYTinkerer said
I'm assuming this component is loaded by default as I can't find in in Project|Properties|Components
You can't see them because, default, they are not shown as they are deprecated.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

Posted
Administrator

gbWilly said
You are assuming wrong. You always activate components yourself, unless you loaded the source code into IDE, then it should be activated.DIYTinkerer said
I'm assuming this component is loaded by default as I can't find in in Project|Properties|Components
You can't see them because, default, they are not shown as they are deprecated.
depricated.png
Try, in project properties (tab components) clicking where arrow points to, and the mouse pointer is, to show them.
Are you sure gb.gsl is depreciated, because the wiki doesn't show it as being depreciated, only partially implemented.
Does gb.gsl show up in your project properties as being depreciated, because mine (old Gambas version) shows it as "not finished, but stable".
If it is actually depreciated, then the wiki needs updated. If the wiki is correct, then the project properties in the newer Gambas version is incorrect and needs corrected. :?:
Posted
Administrator

DIYTinkerer said
Thanks for the tip, however clicking show depreciated does nothing, no new components are shown???? Do you know what replaced it?
What version of Gambas are you using?
Posted
Guru

They are grey if they are incomplete, unstable or just unfinished.
You should still be able to select it. Its not disabled b cause it's grey.
Aah no i see it is not greyed.
Posted
Guru

For apt packager try this..
sudo apt install gambas3-gb-gsl
Posted
Administrator

DIYTinkerer said
Thanks for the tip, however clicking show depreciated does nothing, no new components are shown???? Do you know what replaced it?
Send some system info output as well (menu ? -> System Information -> click Copy and Paste here), without info no clue what can be going on.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator

Good one Bruce.BruceSteers said
Is it installed?
For apt packager try this..
sudo apt install gambas3-gb-gsl
Deprecated components are not part of a default Gambas3 install and must be installed separately, before you can use them.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

That did the trick - Thanks Bruce and everyone else for their suggestions. :-)BruceSteers said
Is it installed?
For apt packager try this..
sudo apt install gambas3-gb-gsl
Posted
Administrator

gbWilly said
What Gambas are you running? And I mean from where, what repository, what version?
Send some system info output as well (menu ? -> System Information -> click Copy and Paste here), without info no clue what can be going on.
Your arrow is pointing to the gb.sdl component, not the gb.gsl component.
Posted
Administrator

Seems I need glasses…sholzy said
Your arrow is pointing to the gb.sdl component, not the gb.gsl component.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator

gbWilly said
Seems I need glasses…sholzy said
Your arrow is pointing to the gb.sdl component, not the gb.gsl component.
Maybe you should run everything past Poly first. He does a great job of catching your mistakes.
1 guest and 0 members have just viewed this.



