Re: [Gambas-user] Variable overflow questions

2010-11-05 Thread nando
Here is a visualization (view this email with a fixed width font): Regarding your line: DIM iArea AS Single = 1.7014118E+38 A Single only has about 8 digits of precision so, the number is really this: 170,141,180,000,000,000,000,000,000,000,000,000,000.0

[Gambas-user] Type Mismatch error with max neg long int as constant

2010-11-24 Thread nando
In Gambas2, I get a type mismatch error...but no error if ends in a 7 PUBLIC CONST LOWESTLONG AS Long = -9223372036854775808 'from wiki: -9.223.372.036.854.775.808 -Fernando -- Increase Visibility of Your 3D Game App &

[Gambas-user] Gamba 3 - SVN question

2010-12-02 Thread nando
I am gently moving to Gambas 3 As per instructions...I didn't get very far with ./reconf-all Any suggestions? -Fernando [r...@localhost ~]# cd trunk/ [r...@localhost trunk]# ./reconf-all libtoolize: unrecognized option `--nonrecursive' Try `libtoolize --help' for more information. autoreconf: Ente

Re: [Gambas-user] Gamba 3 - SVN question

2010-12-02 Thread nando
Yup, I just realized that too. FC6 doesn't last forever!! Thanks for your reply Benoit. -Fernando -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Thu, 2 Dec 2010 13:38:59 +0100 Subject: Re: [Gambas-user] Gamba 3 -

[Gambas-user] Socket Server Example: CPU Usage Question

2010-12-04 Thread nando
Folks, I'm writing a Socket Server application. When I use the Server Example and Telnet in (local machine) I see CPU usage raise to 35% and stay there even with no activity. I use TOP at 1 second to see CPU usage. I'd like to know if others experience the same fairly high CPU use? -Fernando

[Gambas-user] Gambas 2 question

2010-12-07 Thread nando
Benoit In my debugging, I was doing... PRINT "IN", 'at the beginning of a routine . . . . . . PRINT "OUT" 'at the end so I could track and detect flow. the first line does a \n in all cases even though it has a trailing comma. Normally, the comma didn't do a New Line. It correctly does a ta

Re: [Gambas-user] Gambas 2 question

2010-12-07 Thread nando
Correct. -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Tue, 7 Dec 2010 18:52:03 +0100 Subject: Re: [Gambas-user] Gambas 2 question > > Benoit > > > > In my debugging, I was doing... > > > > PRINT "IN", 'at t

[Gambas-user] Gambas2 IDE Snap to Grid Question

2010-12-17 Thread nando
Does anyone know how to turn off the grid snapping feature when place an object in a form in the IDE? I am placing a label in a specific place. I hold the CNTRL down so it is off while moving it. However, when I click on another object and then click on the original one, it snaps to the grid. Ver

Re: [Gambas-user] Gambas2 IDE Snap to Grid Question

2010-12-17 Thread nando
Yes, I do mean the SHIFT key. I am using 2.9 When do you expect to begin not supporting 2 anymore? -Fernando -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Fri, 17 Dec 2010 18:33:39 +0100 Subject: Re: [Gambas-user

[Gambas-user] some questions of: Struct

2011-01-16 Thread nando
Benoit, 1) What version is struct implemented? 2) Reading and writing a struct to a stream (file, etc) is an exact copy of the struct? 3) Does struct pad with bytes to fit alignments or is it exact as defined? 4) This is similar to RECORD in VB. -Fernando

Re: [Gambas-user] some questions of: Struct

2011-01-16 Thread nando
Thank you for your reply. For #2: I meant, the serialization is in order of the struct as defined. -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Mon, 17 Jan 2011 03:18:07 +0100 Subject: Re: [Gambas-user] some que

[Gambas-user] Gambas 2: Tab Strip 'Menu' Question

2011-02-22 Thread nando
Does anyone know why F10 is the 'menu activation' key for a MENU on a tab stip and how to change it. I cannot seem to find any info on it. -Fernando -- Free Software Download: Index, Search & Analyze Logs and other IT dat

Re: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question

2011-02-26 Thread nando
Place a menu on a form with some items on it. Press F10 and the left most item on the menu is highlighted -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Fri, 25 Feb 2011 15:06:34 +0100 Subject: Re: [Gambas-user]

Re: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question

2011-02-27 Thread nando
op manager settings? > > On Sunday, February 27, 2011 11:11:45 am nando wrote: > > Place a menu on a form with some items on it. > > Press F10 and the left most item on the menu is highlighted > > > > > > > > -- Original Message --- > >

Re: [Gambas-user] Redesigning the web site for Gambas 3

2011-03-20 Thread nando
Benoit, I always liked PHP's pages, how it's laid out, and code suggestions/snippets -- Original Message --- From: Benoît Minisini To: gambas-user@lists.sourceforge.net Sent: Sat, 19 Mar 2011 16:18:55 +0100 Subject: [Gambas-user] Redesigning the web site for Gambas 3 > Hi, >

Re: [Gambas-user] Serial with 9 databits

2011-04-13 Thread nando
Serial ports on computers can (usually) do 5,6,7,8 data bits. The 8250/16450/16550 serial chip doesn't have a way to do 9 bits This is unusual. What is it for? -- Original Message --- From: Jack To: mailing list for gambas users Sent: Mon, 11 Apr 2011 12:17:50 +0200 Subject: Re:

Re: [Gambas-user] Should not we follow the ISO 8601 standard?

2011-04-13 Thread nando
My opinion: Gambas can store date format internally however Benoit decides. Here in North America, every uses MM-DD- This is a (human) standard here because we would say April 13, 2011 which is the same order. The Canadian government uses -MM-DD. If you have dates as a string for sorting

Re: [Gambas-user] needing help...

2011-04-27 Thread nando
Some versions of motherboards plus resolution size cannot handle two camera simultaneously. There is a technical reason I won't go into here. Use the lowest resolution settings first and then try it. -Fernando -- Original Message --- From: richard terry To: mailing list for gamba

Re: [Gambas-user] Base 64 question

2011-04-27 Thread nando
Health Level 7 file format To start visit: http://en.wikipedia.org/wiki/Health_Level_7 -- Original Message --- From: richard terry To: mailing list for gambas users Sent: Wed, 27 Apr 2011 18:13:57 +1000 Subject: [Gambas-user] Base 64 question > Hi list, > > I've a HL7 file app

[Gambas-user] Gambas 2 IDE different with running issue

2011-04-27 Thread nando
I am using Gambas 2 now, but I noticed that what I design in the IDE is sized different (larger) when running. I find this very odd because it doesn't look correct. Does anyone know what I am missing ? -Fernando -- WhatsUp

Re: [Gambas-user] Thanks, and help me again...

2011-04-27 Thread nando
For #2. you can place your preload in /etc/rc.local file to start every time for all users. Use a text editor and type the command as the very last line. This file is like autoexec.bat for windows. -Fenando -- Original Message --- From: Hamilton Geminiano Andrioli Junior To: gam

Re: [Gambas-user] Gambas 2 IDE different with running issue

2011-04-28 Thread nando
"expand" property to value "false" :D > > 2011/4/28 nando > > > I am using Gambas 2 now, but I noticed that > > what I design in the IDE is sized different (larger) when running. > > I find this very odd because it doesn't look cor

[Gambas-user] Run-time bug

2011-05-04 Thread nando
' Gambas class file PRIVATE test AS String[30, 30] PUBLIC SUB my_test() test = ["Voice", "Logon"] '<---If I REM this, there is no runtime error on next line test[0, 1] = "Logon" '<---Runtime error: Bad Number of Dimensions PRINT test.count END Gambas2 -Fernando --

[Gambas-user] Can someone explain why this works?

2011-05-04 Thread nando
Benoit, Can you explain why this works and the reasoning behind it? I would think there would be dimension issues on some lines DIM i AS Integer, Text AS String[4, 4, 4, 4] Text = ["Just", "test"]'<--how to load Text with multi-dimension text FOR i = 0 TO Text.Max PRINT Text[i]

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-04 Thread nando
Technically, anything is possible Give an example of your data to sort perhaps? -- Original Message --- From: Kevin Fishburne To: gambas-user@lists.sourceforge.net Sent: Thu, 05 May 2011 00:00:25 -0400 Subject: [Gambas-user] gb3: sorting an array-like structure > Is it possible

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-04 Thread nando
-like structure > On 05/05/2011 01:19 AM, nando wrote: > > Technically, anything is possible > > Give an example of your data to sort perhaps? > > If I have an array of two dimensions [1000, 10] how would I sort it by > the second element of the second dimension for e

[Gambas-user] Signal #11 in Gambas 2

2011-05-04 Thread nando
How to make the 4 line example signal #11 every time: 1. Place a breakpoint on the PRINT "hello" line 2. Run the program (F5) 3. When the program stops at the breakpoint, highlight the word 'String[]' on line 2 -Fernando SUB x() DIM uu AS NEW String[] PRINT "hello" END --

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-04 Thread nando
@lists.sourceforge.net Sent: Thu, 05 May 2011 01:46:22 -0400 Subject: Re: [Gambas-user] gb3: sorting an array-like structure > On 05/05/2011 01:39 AM, nando wrote: > > ? > > Do you mean sorting [0, 1] to [1000, 1] > > Because the 1 is the second element of the second dimensi

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread nando
this works? > because text.max is not text.count ! > > http://gambasdoc.org/help/comp/gb/array/max?v3 > > 2011/5/5 nando : > > Benoit, > > > > Can you explain why this works and the reasoning behind it? > > I would think there would be dimension issues on s

Re: [Gambas-user] Lost Timer1

2011-05-05 Thread nando
I've had similar happen. Now, I create a visible=false panel called invisible_stuff and put things on it I can negative x,y it off the form so I cannot delete it accidentally and I must deliberatly change x,y to alter items on it. -- Original Message --- From: richard terry To:

Re: [Gambas-user] Run-time bug

2011-05-05 Thread nando
Thanks Benoit, I was still thinking 'static' Thinking 'dynamic' it makes sense I will make this adjustment in my brain. Very much appreciated. -Fernando -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Thu, 5 May 20

Re: [Gambas-user] Lost Timer1

2011-05-05 Thread nando
ubject: Re: [Gambas-user] Lost Timer1 > On Friday 06 May 2011 02:06:05 nando wrote: > > I've had similar happen. > > Now, I create a visible=false panel > > called invisible_stuff > > and put things on it > > I can negative x,y it off the form so I cannot >

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-09 Thread nando
I looked at the YouTube: cool!!! After working with OpenGL, you basically need to calculate which is nearer or farther away from the 'eye' I don't believe there is anything native in Gambas, this is very unique. But I am thinking... -- Original Message --- From: Kevin Fishburne

Re: [Gambas-user] Dynamically loading components

2011-05-10 Thread nando
To me, it could be implemented with one Gambas main program and you SHELL or EXEC to your component Gambas programs. Thus, they're only loaded when they run. When they're done, they're freed. -- Original Message --- From: Sebi Kul To: mailing list for gambas users Cc: Benoît Min

[Gambas-user] This Gambas 2 example does not work properly:

2011-05-10 Thread nando
Make a label on a form: Label1 In code, run the following 3 lines: Label1.text = "B" Label1.text = Left$(Label1.text, Len(Label1.Text) - 1) Label1.text = Left$(Label1.text, 0) Line 2 or line 3 should reduce it to an empty string. It doesn't -Fernando

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-10 Thread nando
' s is correct: empty string Label1.text = s' <-this does not overwrite the 'B' to empty. -Fernando -- Original Message --- From: "nando" To: "Benoit" Sent: Tue, 10 May 2011 22:58:58 -0400 Subject: [Gambas-user] This Gam

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-11 Thread nando
pty string > > Label1.text = s' <-this does not overwrite the 'B' to > > empty. > > > > -Fernando > > > > > > -- Original Message --- > > From: "nando" > > To: "Benoit" > &

Re: [Gambas-user] CGI rights to access directory

2011-05-12 Thread nando
A possibility: SGID (Set Group ID) bit Setting the SGID bit for a file sets your group ID to the file's group while the file is executing. -- Original Message --- From: Rolf-Werner Eilert To: gambas-user@lists.sourceforge.net Sent: Thu, 12 May 2011 09:14:03 +0200 Subject: [Gamba

Re: [Gambas-user] Gambas 3 first release candidate

2011-05-21 Thread nando
I must ask: what is IRL ? -- Original Message --- From: Benoît Minisini To: gambas-user@lists.sourceforge.net Sent: Sat, 21 May 2011 14:15:37 +0200 Subject: [Gambas-user] Gambas 3 first release candidate > Hi Gambas fellows, > > The Gambas 3 RC1 source package is available for

Re: [Gambas-user] We live a dangerous life sometimes...

2011-05-26 Thread nando
Best wishes on your voyage! -- Original Message --- From: Benoît Minisini To: gambas-user@lists.sourceforge.net Sent: Thu, 26 May 2011 19:15:31 +0200 Subject: [Gambas-user] We live a dangerous life sometimes... > Hi, > > I'm going to flash the firmware of my WD Velociraptor har

Re: [Gambas-user] Programming, age

2011-06-25 Thread nando
There is not a limit! I am in late 40's and started programming in 1975. I've written from 8080a assembly to anything now. Send me any questions and I'll answer. -- Original Message --- From: Dag-Jarle Johansen To: Gambas-user@lists.sourceforge.net Sent: Thu, 23 Jun 2011 15:28:28

Re: [Gambas-user] gb3: Format$

2011-06-25 Thread nando
18:35 is 6:35 pm just in 24 hour time -- Original Message --- From: Kevin Fishburne To: gambas-user@lists.sourceforge.net Sent: Sat, 25 Jun 2011 18:45:16 -0400 Subject: Re: [Gambas-user] gb3: Format$ > On 06/24/2011 06:42 PM, Benoît Minisini wrote: > >> I'm using this to print

Re: [Gambas-user] gb3: Format$

2011-06-25 Thread nando
gt; On 06/25/2011 07:05 PM, nando wrote: > > 18:35 is 6:35 pm > > just in 24 hour time > > > > I understand that. I just don't understand why a completely different > line is affect by the previous line's Format$. If I comment out the > Format$ lin

Re: [Gambas-user] Try Catch fail when using mkdir....

2011-07-01 Thread nando
In a true multi-user multi-tasking environment the following is good except it is missing one thing: The TRY must be added because during the IF test and the MKDIR, it might have been created. This makes it the list error prone. Private Sub CreateNewOutputFolder(psFolderSpecification As String)

[Gambas-user] Question about classes abd class variables

2011-07-16 Thread nando
Benoit, I'm look for clarity on a particular thing. Consider the following example class named 'K': STATIC PUBLIC GridX AS Integer PUBLIC c AS Integer = 0 PUBLIC SUB clear() c = 0 END The following two lines are in _init of another class or module: K.GridX = 6 <---T

[Gambas-user] Cloning instances of a class to make an exact copy

2011-07-20 Thread nando
Question: Assume I have an instance of class myclass dimed as 'myclass1' and I want to clone all the data to NEW myclass2 The syntax may be something like: myclass2 = NEW myclass 'create instance myclass2.clone(myclass1) 'clone/copy I do realize that: myclass2 = myclass2 only assigns a seco

[Gambas-user] Do embeded objects get released too upon destruction ?

2011-07-20 Thread nando
Question: If I have a class 'myClass' with the following: DIM k = NEW OBJECT[100] PUBLIC SUB _init() DIM i AS INTEGER FOR i = 1 TO 100 k[i] = NEW STRING[] 'add a string array k[i].add("HELLO")'add one element with "HELLO" NEXT

Re: [Gambas-user] Do embeded objects get released too upon destruction ?

2011-07-23 Thread nando
Does not the following line make the class "_init" execute with each new instance of the class? DIM Q AS NEW myClass[5]' constructor executes 5 times Then, with each new instance there is the NEW object array with HELLO 100 times When the reference to myClass is gone, as in:

Re: [Gambas-user] Do embeded objects get released too upon destruction ?

2011-07-23 Thread nando
embedded strings too? -- Original Message --- From: "nando" To: mailing list for gambas users Sent: Sat, 23 Jul 2011 14:24:17 -0400 Subject: Re: [Gambas-user] Do embeded objects get released too upon destruction ? > Does not the following line make the class "_i

Re: [Gambas-user] write to file question

2011-08-17 Thread nando
I agree. The code looks correct. -- Original Message --- From: Jussi Lahtinen To: mailing list for gambas users Sent: Tue, 16 Aug 2011 19:31:19 +0300 Subject: Re: [Gambas-user] write to file question > What is your Gambas version and operating system? > Can you send demonstrat

Re: [Gambas-user] gb3: using string as stream for sequential write operations of arbitrary datatypes

2011-08-30 Thread nando
What type of connection are you using ? -- Original Message --- From: Kevin Fishburne To: gambas-user@lists.sourceforge.net Sent: Tue, 30 Aug 2011 05:31:52 -0400 Subject: Re: [Gambas-user] gb3: using string as stream for sequential write operations of arbitrary datatypes > On 0

Re: [Gambas-user] Gambas 2 and mysql bin-log

2011-08-30 Thread nando
set the logging level in the configuration file higher than zero -- Original Message --- From: fvegaf To: gambas-user@lists.sourceforge.net Sent: Tue, 30 Aug 2011 11:12:18 -0700 (PDT) Subject: [Gambas-user] Gambas 2 and mysql bin-log > I turned on the mysql binary log, but my

Re: [Gambas-user] Counting characters

2011-11-13 Thread nando
If i'm not mistaken, the +1 at the end chould not be there. for i =1 to len (sValue)+1 -- Original Message --- From: Fabien Bodard To: i...@eilert-sprachen.de, mailing list for gambas users Sent: Fri, 11 Nov 2011 15:58:17 +0100 Subject: Re: [Gambas-user] Counting chara

Re: [Gambas-user] Question - how to just run part of ones larger program

2011-11-21 Thread nando
You could run a second copy from the first. Place a specific word on the command line as a parameter so that the copy will understand to show the specific screen desired and perhaps hide other menus. You can tailor startup to do something specific based on command line parameter(s). -Nando

[Gambas-user] Bug drawing_area

2011-11-24 Thread nando
Benoit, I have a drawing_area and I draw a line from 0,0 to 150,200 and I slowly move the drawing area off the left of the screen. The line does not continue with the drawing area off screen. Instead, it stops at the left of FMain and does not continue staying at (0,0) of drawing area _Draw is

Re: [Gambas-user] Bug drawing_area

2011-11-25 Thread nando
ssage --- From: Rolf-Werner Eilert To: gambas-user@lists.sourceforge.net Sent: Fri, 25 Nov 2011 08:08:33 +0100 Subject: Re: [Gambas-user] Bug drawing_area > Am 25.11.2011 07:33, schrieb nando: > > Benoit, > > > > I have a drawing_area and I draw a line from 0,0 to 150,200

Re: [Gambas-user] Help in sending sms

2011-12-14 Thread nando
I have heard connecting (usb) a computer to a smartphone and using the smartphone to do the SMS work is one way. -- Original Message --- From: tobias To: mailing list for gambas users Sent: Wed, 14 Dec 2011 19:00:06 +0100 Subject: Re: [Gambas-user] Help in sending sms > On 14.

Re: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float

2011-12-22 Thread nando
Personally, I do not see this as a problem for a float doing this calculation. Since it is transcendental function, this will happen. Plus, float is not 64 bits of precision, it is 52 bits. I suggest use INT or LONG This type of round-off error goes back to the beginning of time -Fernando

Re: [Gambas-user] Getting an Object instance from a string

2011-12-28 Thread nando
...If I understand properly, I had a similar issue years ago. You want to extend each class and override each with it's own personal .getproperty. Dynamic dispatching will call the correct SUB So, you want to wrap into a SUB the Object.GetProperty(sModule, "Var1") so that it gets dynamically dis

Re: [Gambas-user] Gambas 3 is out!

2011-12-30 Thread nando
Im using Centos 5.6 ./reconf-all failed aclocal doesn't have --install flag Suggestions? -Fernando [root@localhost ~]# cd gambas3-3.0.0 [root@localhost gambas3-3.0.0]# ./reconf-all libtoolize: unrecognized option `--nonrecursive' Try `libtoolize --help' for more information. autoreconf: Entering d

Re: [Gambas-user] Gambas 3 is out!

2011-12-30 Thread nando
Well, I realize CentOS is behind the times even though it is latest version. I'll stick with GAMBAS2 temporarily... So, which flavor of Linux should I migrate to? Your suggestions? This will be my new year resolutions. -- Original Message --- From: "nando" To: m

[Gambas-user] Question about REPLACE$

2011-12-31 Thread nando
Question: Code piece dim i as integer dim s as string i = 12345 s = "the number is " Replace$( s , "", STR$(i) , gb.case) Replace$( s , "", STR$(i) , gb.case) The first Replace will do the substitution The second Replace will not do the substitution The Question is this: will th

[Gambas-user] GAMBAS Test Suite question

2012-01-02 Thread nando
I'd like to know if there is a comprehensive test suite out there to test all (or as much as possible of) of GAMBAS ? It would be easier over time and new releases to run the 'big' test to prove anything that might become broken. Opinions? -Fernando --

[Gambas-user] Gambas Object Reference Count

2012-01-10 Thread nando
Benoit, Is there a way to find out what the actual reference count is for a GAMBAS object at runtime? -Fernando -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or

Re: [Gambas-user] Gambas Object Reference Count

2012-01-10 Thread nando
rence Count > See http://gambasdoc.org/help/comp/gb/object/count?v3 > > 2012/1/10 nando > > > Benoit, > > Is there a way to find out what the actual reference count is for a GAMBAS > &g

Re: [Gambas-user] Help! I can't find the error

2012-01-20 Thread nando
I see 10 items to SET. I count more than 10 vars in the list of variables ?? -Fernando -- Original Message --- From: "M. Cs." To: mailing list for gambas users Sent: Thu, 19 Jan 2012 21:57:53 +0100 Subject: [Gambas-user] Help! I can't find the error > querry = "SELECT * FROM MP3

Re: [Gambas-user] Pointer-Memory Question

2012-02-03 Thread nando
Is this a possible reason? Write #strm moves the "pointer" to 4 past where it was first set. Read is reading a SINGLE immediately after what you wrote You need to seek backwards 4 places ?? -Fernando -- Original Message --- From: Wally To: Gambas-user@lists.sourceforge.net Sent:

Re: [Gambas-user] inheritance problems

2012-02-03 Thread nando
How can it be empty AND have elements in it? -- Original Message --- From: Shane Powell To: mailing list for gambas users Sent: Sat, 04 Feb 2012 12:05:24 +1100 Subject: [Gambas-user] inheritance problems > I have this in my program > > class 1 >public array of class 2 > >

Re: [Gambas-user] inheritance problems

2012-02-03 Thread nando
PUBLIC myint is only exactly one variable. It's public. -- Original Message --- From: Shane Powell To: nand...@nothingsimple.com, mailing list for gambas users Sent: Sat, 04 Feb 2012 17:16:17 +1100 Subject: Re: [Gambas-user] inheritance problems > On 04/02/12 15:5

Re: [Gambas-user] inheritance problems

2012-02-04 Thread nando
itance problems > On 04/02/12 17:42, nando wrote: > > PUBLIC myint is only exactly one variable. > > It's public. > > > > > > -- Original Message --- > > From: Shane Powell > > To: nand...@nothingsimple.com, mailing list for gambas

Re: [Gambas-user] gb3: converting structures to classes

2012-02-06 Thread nando
I am doing the same thing. Using class in place of structures. Then arrays or collections of the classes. Works great! -- Original Message --- From: Kevin Fishburne To: gambas-user@lists.sourceforge.net Sent: Sun, 05 Feb 2012 02:39:43 -0500 Subject: [Gambas-user] gb3: converting

Re: [Gambas-user] Send from .module to .class

2012-02-06 Thread nando
MFmain.Label1.text = "test_string" -- Original Message --- From: abbat To: gambas-user@lists.sourceforge.net Sent: Sat, 4 Feb 2012 15:01:59 -0800 (PST) Subject: [Gambas-user] Send from .module to .class > How can I send a string "test_string" from > Main.module > to > Label1

Re: [Gambas-user] gb3: converting structures to classes

2012-02-06 Thread nando
-user] gb3: converting structures to classes > On 02/06/2012 09:36 AM, nando wrote: > > I am doing the same thing. > > Using class in place of structures. > > Then arrays or collections of the classes. > > Works great! > > > > What are the general steps to do

Re: [Gambas-user] Gambas bug?

2012-02-10 Thread nando
First, what are you trying to do? -- Original Message --- From: Fabián Flores Vadell To: mailing list for gambas users Sent: Fri, 10 Feb 2012 16:39:12 -0300 Subject: [Gambas-user] Gambas bug? > Hi. > > When I execute this: > > Print Object.Call(["John", "Peter"], "Count") >

Re: [Gambas-user] Invoking interpreter from complied program

2015-02-11 Thread nando
you could put instructions in a file and pass the filename as arg1. then open the file and read and process the instructions -- Original Message --- From: "CJ" To: "'mailing list for gambas users'" Sent: Wed, 11 Feb 2015 15:23:36 +0100 Subject: Re: [Gambas-user] Invoking interpr

Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9)

2015-06-02 Thread nando
Alternate: Dim j as Byte Dim s as String For j = 1 To 12 s &= Mid("ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789", Int(1, 13), 1) Next Print s -- Original Message --- From: Jussi Lahtinen To: mailing list for gambas users Sent: Sat, 30 May 2015 17:41:43 +0300 Subject: Re: [Gambas-use

Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9)

2015-06-04 Thread nando
; Just being a bit picky here, but shouldn't that be Rnd(1,36) ? 26 > > letters and 10 digits? > > > > On 15-06-02 08:49 AM, nando wrote: > >> Alternate: > >> > >> Dim j as Byte > >> Dim s as String > >> > >> For j =

[Gambas-user] Console error message...

2015-07-21 Thread nando
Benoit, I get this message on the terminal where I run gambas3: It happens when I click on menu: PROJECT -> MAKE -> EXECUTABLE -> OK uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu I use Ubuntu 14.04 Gam

[Gambas-user] Stack Overflow...with QT4 combobox

2015-07-22 Thread nando
Gambas 3.7.1 QT4 I get stack overflow with... ComboBox1.value = Not ComboBox1.value -Nando -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https

[Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
Dim t As String Print SizeOf(t) Type mismatch: wanted integer, got string instead 'Sizeof also errors on a Stucture Ubuntu 14.04LTS Gambas 3.7.1 -Fernando -- ___ Gambas-user

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
Thanks guys, I was in 'C' mode and needed the size of a structure. Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that? wishing out loud. Thanks! DOH! -Nando -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
SWEET! Thank you Benoit. -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Wed, 29 Jul 2015 21:37:29 +0200 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > Le 29/07/2015 21:15, nando

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread nando
Print p.Sizeof() 'run-time error -N -- Original Message --- From: "nando" To: mailing list for gambas users Sent: Wed, 29 Jul 2015 21:00:10 -0400 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > SWEET! > Thank you Benoit. >

[Gambas-user] mkinteger..and the reverse function

2015-07-31 Thread nando
I'm putting this out there... I'm using MkInteger$, MkShort$ Who knows what the opposite functions would be. I can't find them myString = MkInteger$(12345678) 'convert an integer to a string representation myInteger = ?? (myString) 'convert back to a

[Gambas-user] datediff problem

2015-08-01 Thread nando
t be a TimeZone problem. I am in GMT -5 but daylight savings during the summer it is -4 Am I correct to say this is not correct operation? -Nando -- ___ Gambas-user mailing li

Re: [Gambas-user] Multidimensional dynamic array basics

2015-08-19 Thread nando
te that here) The most important part is to understand the difference about DECLARING variable names (for the program to compile) (using DIM or Private or Public) and CREATING new variables at run-time. (like ...As NEW Object[500] ...As NEW Label) I'm pretty sure I got the syntax right. -N

Re: [Gambas-user] Microsoft Access database

2013-08-12 Thread nando
ACCESS db is really just a file ,and not a 'server' like MySQL You need software to install on your linux box to tickle the file. There is something out there, I did use something on a box a while back. (sorry forgot what is was) -- Original Message --- From: Caveat To: gambas-us

Re: [Gambas-user] SQL query for DB.Exec() question

2013-08-29 Thread nando
I see spaces in the field 'Initial IC' and 'Actual IC'. If you're using a space in the field name - DONT!!! Use _ underscore instead. Don't use a spaces in any names. You complicate life with them and make you want to pull your hair out. This should work myString = "SELECT IC.ID, Product.Descrip

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread nando
For MySQL to operate properly, you MUST have a column which is a primary key. A "good" table will always have one column set as Primary Key. If you don't have one, make one as INT(9) AutoIncrement, Not NULL Name the column 'recid' and use 'recid' to delete a particular row -- Original Mes

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread nando
-10-04 at 22:53 +0200, Willy Raets wrote: > > > > Nando, Fernando and Caveat, > > > > Thanks for your responses. > > > >> Content in 'ICzakgewicht' can be like this: > >> | ID | Gewicht | > >> 345 100 > >> 345 100 >

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread nando
r' is in Gambas, MySQL knows nothing of it. -Nando -- Original Message --- From: Willy Raets To: mailing list for gambas users Sent: Sat, 05 Oct 2013 14:08:27 +0200 Subject: Re: [Gambas-user] Problem with Gambas and MySql > On Sat, 2013-10-05 at 10:08 +0200, Fernando Mart

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-07 Thread nando
Lovely -- Original Message --- From: Caveat To: gambas-user@lists.sourceforge.net Sent: Mon, 07 Oct 2013 14:04:55 +0200 Subject: Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql! > Thanks Randall, we got some great discussions going here. I think the > closing p

Re: [Gambas-user] if-else vs try who are best faster in machine time?

2013-11-04 Thread nando
I vote for (2) -- Original Message --- From: Jussi Lahtinen To: mailing list for gambas users Sent: Mon, 4 Nov 2013 23:43:10 +0200 Subject: Re: [Gambas-user] if-else vs try who are best faster in machine time? > Why not simply write benchmark? > > Jussi > > On Mon, Nov 4, 201

Re: [Gambas-user] Unexecuted Orphan Code or Something?

2013-11-05 Thread nando
oddest output. It would be worse if it executed at the moment before a new month started and even more so if it executed at the moment before a new year. In a multitasking computer, it is possible to slice out at the worst possible time. Time-sensitive calculations must not do this. -Nando

Re: [Gambas-user] Key code constant wrong?

2013-11-11 Thread nando
Thank you for the nostalgia. I had an 8800b - lots of fun. and I do remember the black ones were NC. Early in the PC days, there was no keypad. I remember explicitly when the keypad came into use, the keypad ENTER was a different code. Caused me a headache, but allowed for using the keypad differe

Re: [Gambas-user] how to make threats

2013-11-11 Thread nando
one way is to make use rc.local file and place the name of the executable there with a & at the end to make it run in the background. -- Original Message --- From: PICCORO McKAY Lenz To: mailing list for gambas users Sent: Mon, 11 Nov 2013 14:01:28 -0430 Subject: [Gambas-user] h

Re: [Gambas-user] how to make threats

2013-11-12 Thread nando
ct: Re: [Gambas-user] how to make threats > And how would you stop such a thread when you finish the main program (GUI)? > > Am 11.11.2013 23:31, schrieb nando: > > one way is to make use rc.local file > > and place the name of the executable there > > with a &am

Re: [Gambas-user] Questions about reading of a text file with "Read".

2013-11-12 Thread nando
Please read the help on READ. When you specify a string variable 's' with out a length then the string length byte is read first. So your string you are reading is probably 49 characters long and Im guessing the first is probably character 48 so it will only read 48 characters starting in the next

[Gambas-user] Question READ WRITE in V3

2013-11-12 Thread nando
Benoit, I use (still) v1.17 and v2 and I use the READ and WRITE statements I have not ported to v3 yet. When I was replying to someone's issue about READ I came across the V3 help for READ Question: is it still true that WRITE #file, s,14 will write 14 bytes and NOT write the length first just a

Re: [Gambas-user] Question READ WRITE in V3

2013-11-12 Thread nando
nand...@nothingsimple.com, mailing list for gambas users Sent: Tue, 12 Nov 2013 14:25:16 +0100 Subject: Re: [Gambas-user] Question READ WRITE in V3 > Le 12/11/2013 14:11, nando a écrit : > > Benoit, > > I use (still) v1.17 and v2 and I use the READ and WRITE statements > > I

  1   2   3   >