Jussi I believe you have it there, thanks. I want to avoid a file for
such a small, unchanging dataset.
Thanks,
Keith
On 13-06-27 06:22 PM, Jussi Lahtinen wrote:
> How about this?
>
>Dim data As New Integer[][]
>Dim v As New Integer[10, 10]
>
>data.Add([1, 2, 3, 4, 5])
>data.Ad
Le 27/06/2013 18:07, Ru Vuott a écrit :
> Hello Benoît,
>
> I posted a question in GStreamer Mailing List about no-Playing Midi file with
> GStramer version 1.0.6.
>
> I had 2 answers, here:
> -
> There's a "wildmidi" plugin in -plugins-bad that may help? There's also
> "timidity", but it hasn
How about this?
Dim data As New Integer[][]
Dim v As New Integer[10, 10]
data.Add([1, 2, 3, 4, 5])
data.Add([6, 7, 8, 9, 10, 11])
For ii = 0 To data.Max
For jj = 0 To data[ii].Max
v[ii, jj] = data[ii][jj]
Next
Next
Or maybe you want to read the data from file?
Jussi
The way I remember it was: (your second example)
Dim data[5, 5] As Integer
On 6/27/2013 5:54 PM, Keith Clark wrote:
> No, the data was just an example. What if it were to be 255 unrelated
> values?
>
> Did nobody else use BASIC from the 80s?
>
> Read/Data statments.
>
> On 13-06-27 05:48 PM
No, the data was just an example. What if it were to be 255 unrelated
values?
Did nobody else use BASIC from the 80s?
Read/Data statments.
On 13-06-27 05:48 PM, Jussi Lahtinen wrote:
> I don't quite understand usage of data...
>
> Will this do what you want?
>
> Dim data As Integer[] = [1,
Sorry, with your correct variable names;
Dim ii As Integer, jj As Integer
Dim v As New Integer[5, 5]
For ii = 0 To 4
For jj = 0 To 4
v[ii, jj] = jj + 1
Next
Next
On Fri, Jun 28, 2013 at 12:48 AM, Jussi Lahtinen
wrote:
> I don't quite understand usage of data...
>
> Will this do what yo
I don't quite understand usage of data...
Will this do what you want?
Dim data As Integer[] = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
Dim v As New Integer[]
v = data.Copy()
Or this:
Dim ii As Integer, jj As Integer
Dim data As New Integer[5, 5]
For ii = 0 To 4
For jj = 0 To 4
data[ii, jj] = jj
can you send me your project or a part of it that show the problem ?
2013/6/27 Alberto Caballero
> Hi all,
>
> I am trying to show multiple charts inside a TabView. I managed to show
> only one chart. I only get compilation errors or the new chart is not
> displayed. I tried to find something t
On 13-06-27 05:34 AM, Tobias Boege wrote:
> On Wed, 26 Jun 2013, Keith Clark wrote:
>> Does Gambas support read/data commands like the following for loading a
>> simple array with fixed values?
>>
>> for t=0 to 4
>> for x = 0 to 4
>> read v(t,x)
>> next x
>> next t
>>
>> data
Well, so aritmetic operator \ doesn't accept float numbers.
Thank you, Jussi
bye
vuot
Gio 27/6/13, Jussi Lahtinen ha scritto:
Oggetto: Re: [Gambas-user] 16 \ 2 ^ 3 = ...Type mismatich error
A: "mailing list for gambas users"
Cc: "Ben
x \ y doesn't take floats (x / y however does), and exponent will return
float instead of integer.
Not sure this is what Benoit intended. I would expect automatic conversion,
though that might lead to hidden unexpected behaviour which is worse.
This should work:
Print 16 \ cint(2 ^ 3)
Jussi
---
Hello Benoît,
I posted a question in GStreamer Mailing List about no-Playing Midi file with
GStramer version 1.0.6.
I had 2 answers, here:
-
There's a "wildmidi" plugin in -plugins-bad that may help? There's also
"timidity", but it hasn't been ported to GStreamer 1.0 yet (and I can't
figure
About my console results:
[*] Your GStreamer installation is missing a plug-in.
[*] A audio/midi decoder plugin is required to play this stream, but not
installed.
I want to add that I installed:
libgstreamer-plugins-base1.0-dev
Gio 27/6/13, R
Ah... Ok. No problem: Midi file attached here.
I tried the midi file with MediaPlayer example, but at loading I get error:
"GStreamer encountered a general stream error".
In console:
No decoder available for type 'audio/midi'.
[*] Your GStreamer installation is missing a plug-in.
[*] A audio/m
Hi Benoit,
changing the parameter 'bytea_output' in postgresql.conf file from 'hex'
to 'escape' fix the problem. I don't remember if that was the default
value till 8.4 version. I'll check it this evening when i get back home.
Thanks.
Emanuele
-
On Thu, 27 Jun 2013, Beno?t Minisini wrote:
> Le 27/06/2013 12:08, Tobias Boege a ?crit :
> > Hi,
> >
> > I wonder if one could use the Draw.FillStyles (the Fill.* constants)
> > together with the Paint class somehow (dropping any reference to the Draw
> > class) - or do I have to do things like Fi
Le 27/06/2013 12:08, Tobias Boege a écrit :
> Hi,
>
> I wonder if one could use the Draw.FillStyles (the Fill.* constants)
> together with the Paint class somehow (dropping any reference to the Draw
> class) - or do I have to do things like File.Dense6 myself with Paint? Is
> there maybe any PaintB
Hi,
I wonder if one could use the Draw.FillStyles (the Fill.* constants)
together with the Paint class somehow (dropping any reference to the Draw
class) - or do I have to do things like File.Dense6 myself with Paint? Is
there maybe any PaintBrush magic involved?
As I remember, the Draw class is
Hi all,
I am trying to show multiple charts inside a TabView. I managed to show
only one chart. I only get compilation errors or the new chart is not
displayed. I tried to find something to help me in the internet, and even
in this mailing list, but I was unable to find anything.
Would you provid
Le 27/06/2013 03:08, Ru Vuott a écrit :
> Hello Benoît,
>
> excuse me, but... do you want the "midi File" or my gb.media application ?
>
> I suppose my application.
>
> bye
> vuott
>
No, the midi file: I want to play it with the MediaPlayer example to
reproduce the problem.
--
Benoît Minisi
On Wed, 26 Jun 2013, Keith Clark wrote:
> Does Gambas support read/data commands like the following for loading a
> simple array with fixed values?
>
> for t=0 to 4
> for x = 0 to 4
> read v(t,x)
> next x
> next t
>
> data 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5..
>
> Maybe I'm jus
Since version 9.0 of Postgresql server, DB.Postgresql component fails
saving an image file to a blob field type. Maybe due a change in
postgresql internals the escaping sequence produces a bad text. No error
on Insert/Select statement, but when you try to load the image into a
PictureBox you get th
22 matches
Mail list logo