Re: [Gambas-user] Issue 598 in gambas: Deploy of components on debian systems fails because of gambas3-prefix
Comment #3 on issue 598 by chr4...@googlemail.com: Deploy of components on debian systems fails because of gambas3-prefix https://code.google.com/p/gambas/issues/detail?id=598 I tested it and the wrong naming of deb-file and project within the .deb-file seems to be fixed, but I cannot really confirm, because if I install the component the exported classes inside seem to be renamed. If I open a project which depends on the component, I get the error unknown identifier, the icons (in hidden/control) are not found within the IDE. And if I open the generated executable with an editor I see that the names of the classes are written with an exclamation mark (like NameOfClass!). If I execute the project which depends on the component within the IDE, I get an interpreter crash. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Explictly sized array parameters in method signatures?
Hmm, I've never tried this before. Suppose a function GetCurrent(DateRange as Date[]), now intuitively DateRange is an array of 2 dates. No-one would be silly enough to pass an array with more than two elements would they? My cynical nature says yes they could/would. I could ignore the array length and just use DateRange[0] and DateRange[1] as the limits but that may produce confusing outcomes, or an error if DateRange contains only one element. I would like to define the function as GetCurrent(DateRange as Date[2]) but this is apparently a syntax error. Obviously, in this trivialised example, I could check the bounds of the passed array in the function body, I just expected that the runtime would check an explicitly sized array parameter. The real function is (of course) much more complex. The function requires an array of Dates[3][2] and another 5 parameters, some of which are optional. Any thoughts? Bruce -- B Bruen adamn...@gnail.com (sort of) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 598 in gambas: Deploy of components on debian systems fails because of gambas3-prefix
Updates: Status: Fixed Comment #4 on issue 598 by benoit.m...@gmail.com: Deploy of components on debian systems fails because of gambas3-prefix https://code.google.com/p/gambas/issues/detail?id=598 Can you send me your project? Can you create another issue for that problem? Thanks! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Explictly sized array parameters in method signatures?
This may be over-simplified, but couldn't you define a DateRange structure? Or would that not provide the constraints you need? Lee __ Artificial Intelligence is no match for natural stupidity. On 01/27/2015 08:02 PM, adamn...@gmail.com wrote: Hmm, I've never tried this before. Suppose a function GetCurrent(DateRange as Date[]), now intuitively DateRange is an array of 2 dates. No-one would be silly enough to pass an array with more than two elements would they? My cynical nature says yes they could/would. I could ignore the array length and just use DateRange[0] and DateRange[1] as the limits but that may produce confusing outcomes, or an error if DateRange contains only one element. I would like to define the function as GetCurrent(DateRange as Date[2]) but this is apparently a syntax error. Obviously, in this trivialised example, I could check the bounds of the passed array in the function body, I just expected that the runtime would check an explicitly sized array parameter. The real function is (of course) much more complex. The function requires an array of Dates[3][2] and another 5 parameters, some of which are optional. Any thoughts? Bruce -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Explictly sized array parameters in method signatures?
On Wed, 28 Jan 2015 00:43:26 -0500 T Lee Davidson t.lee.david...@gmail.com wrote: This may be over-simplified, but couldn't you define a DateRange structure? Or would that not provide the constraints you need? Lee __ Artificial Intelligence is no match for natural stupidity. Aha! That was the clue! It's actually a struct of structs (3x2) Good thinking 99, I'll give that a go. B -- B Bruen adamn...@gnail.com (sort of) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user