...As NEW Object[500] ...As NEW Label)
I'm pretty sure I got the syntax right.
-Nando
-- Original Message ---
From: Kevin Fishburne kevinfishbu...@eightvirtues.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Wed, 19 Aug 2015 02:22:54 -0400
Subject
but daylight savings during the summer it is -4
Am I correct to say this is not correct operation?
-Nando
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
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 an integer
anyone?
-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
--
___
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 gam...@users.sourceforge.net
To: nand...@nothingsimple.com
is a string
Le 29/07/2015 21:15, nando a écrit :
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
If you a pointer to the structure, just use
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
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 Gambas 3.7.1
-Nando
Paul Horechuk phorec...@gmail.com:
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 = 1 To 12
s = Mid(ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789, Int(1, 13), 1
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 jussi.lahti...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent:
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 li...@hth.com
To: 'mailing list for gambas users' gambas-user@lists.sourceforge.net
Sent: Wed, 11 Feb 2015 15:23:36 +0100
.
Thank you
-Nando
-- Original Message ---
From: Jussi Lahtinen jussi.lahti...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Thu, 23 Jan 2014 03:31:56 +0200
Subject: Re: [Gambas-user] Gambas Future or what kind of Gambas we want.
I would
it for your devices.
I assure you it can certainly do it without fail.
-Nando
-- Original Message ---
From: Randall Morgan rmorga...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sun, 22 Dec 2013 23:35:33 -0800
Subject: Re: [Gambas-user] Serial
for 124 bytes.
Both of these can be a Gambas Class and the second function is the public
function.
You can use _new to instantiate the serial port control.
You don't need to create it at design time.
I used techniques like this and it works like a charm.
-Nando
-- Original Message
Made my day.
Other than available software, there is nothing about Windows remotely
superior to
GNU/Linux.
- Kevin Fishburne
-- Original Message ---
From: Kevin Fishburne kevinfishbu...@eightvirtues.com
To: gambas-user@lists.sourceforge.net
Sent: Sun, 15 Dec 2013 16:02:11
.
(you may think the speed difference might be trivial, but it is important to me)
Also, remove or delete all the items in OBJECT[] if you destroy the controls.
You may have pointers pointing to invalid/unused memory.
-Nando
-- Original Message ---
From: Charlie char
+0100
Subject: 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 at the end to make it run
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
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
...@users.sourceforge.net
To: nand...@nothingsimple.com, mailing list for gambas users
gambas-user@lists.sourceforge.net
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
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
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 mckaygerh...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent:
the 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
I vote for (2)
-- Original Message ---
From: Jussi Lahtinen jussi.lahti...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
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
Lovely
-- Original Message ---
From: Caveat gam...@caveat.demon.co.uk
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.
, 2013-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
345 50
347 200
347 200
347 200
347 200
@ Fernando and Caveat
Above you can see
, MySQL knows nothing of it.
-Nando
-- Original Message ---
From: Willy Raets wi...@earthshipbelgium.be
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sat, 05 Oct 2013 14:08:27 +0200
Subject: Re: [Gambas-user] Problem with Gambas and MySql
On Sat, 2013-10
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
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,
Is this translatable ?
X = 7
PRINT You have X If(X 1, messages, message) waiting.
-- Original Message ---
From: Caveat gam...@caveat.demon.co.uk
To: gambas-user@lists.sourceforge.net
Sent: Wed, 10 Oct 2012 11:57:15 +0200
Subject: Re: [Gambas-user] Example to IIF: what is
When using Byte data type
The loop iteration when j=255 is 255 + 1 = 0
Thus, the end condition of j255 can never happen
It is an endless loop.
This 'problem' is correct operation for the datatype used.
This issue arises always at the boundary of the datatype
when math takes it beyond the
I'd say, if a number has been inputted
and it's in the range -90 ... + 90 then it is a valid long.
No more testing required.
Period!!!
If you multiply it by 6 zero's then it could be
-90,000,000 ... +90,000,000
and you're defeating the whole thing.
What you're doing is pointless.
for this
That's perfectly fine.
Let me offer this plan of attack.
Test if it is between -90 and +90
multiply by 1,000,000 into an INTEGER
which chops all decimal digits to the right of the decimal point.
then if you need float, divide by 1,000,000.
But if you do that , don't be surprised for digits farther
Not a cast
It is Forced Double at compile time.
0 is usually interpreted when compiled as 0 (integer)
0.0 would be interpreted as non-integer
0# same thing but forces the representation as double.
Reason behind doing this:
if you have a double array t#(0..25)
when you do
t#(I) = 0
The zero
Primary keys are supposed to be unique unrelated to the actual data
such as an INT with auto increment so there will never, ever be duplicates.
If you use actual data (like a name) you CAN get duplicates
and you are breaking the design theory.
If you think you'll never get a duplicate, you will.
I'd like to suggest a form property called 'Singleton'
when _new or _init is called (whichever creates the object)
then it will not create a second and only
return the first instance of it. Somewhat like a module.
-- Original Message ---
From: Benoît Minisini
Nice!
-- Original Message ---
From: Benoît Minisini gam...@users.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sat, 19 May 2012 13:58:19 +0200
Subject: [Gambas-user] New feature in Gambas 3
Hi,
I have just added the ability to
Full clean install CentOS 6.2
As per README in Gambas2
STEP 1:
./reconf-all (no error)
STEP 2:
./configure -C (no error but some gambas packages were disabled)
STEP 3:
./make
(this is just the last part of the console)
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..
Full clean CentOS 6.2
Gambas 3
===
Gambas ./configure -C results
||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.db.sqlite2
|| - gb.gsl
|| - gb.image.imlib
|| - gb.opengl
|| - gb.pdf
|| - gb.sdl
|| - gb.sdl.sound
|| - gb.v4l
||
many calculations.
-Nando
-- Original Message ---
From: Jussi Lahtinen jussi.lahti...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Fri, 27 Apr 2012 21:44:08 +0300
Subject: Re: [Gambas-user] gb3: incorrect solution to If...Then condition
If Sin
My two cents worth: I see a few problems:
1) There is an erroneous END just above PRINT iData near the end of your
example or
something is out of order(?)
2) iData is a Result data type and not an INTEGER...and iData doesn't have the
row counts
but iData.count is an INTEGER
3) Internally
A hidden file IS hidden by default from normal views.
So, the result appears to be correct.
(Benoit: maybe a flag is needed for hidden files in call?)
Nevertheless, LOAD ought to work with hidden files too.
(Are your permissions correct)
Files extensions and associations are a windoze thing and
Yup.
Too much beer.
-- Original Message ---
From: Rolf-Werner Eilert eilert-sprac...@t-online.de
To: gambas-user@lists.sourceforge.net
Sent: Wed, 28 Mar 2012 11:58:43 +0200
Subject: Re: [Gambas-user] Delete sentance between words in a file.
Just
D = B + C
An Very Simplified Example:
(Best viewed in fixed-width font)
(There are many other (and better) ways to do this)
A = A Tall Lad Sold All The Desks
'12345678901234567890123456789 29 characters long
R = Tall Lad Sold All TheThis sub string is to be removed (21 chars
long)
-user] WebPage support in Gambas
Le 19/03/2012 00:15, nando a écrit :
If you wanted to know, an English term for
Nothing is engraved in the marble
would be
Nothing is etched in stone.
===
One thing I am thinking right off the top is
the equivalent to sessions in PHP
If you wanted to know, an English term for
Nothing is engraved in the marble
would be
Nothing is etched in stone.
===
One thing I am thinking right off the top is
the equivalent to sessions in PHP
where a specific folder on the server holds
something equivalent that is sent by the
Simple answer: yes
Complex answer: yes
-- Original Message ---
From: Ru Vuott vu...@yahoo.it
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sun, 4 Mar 2012 15:23:24 + (GMT)
Subject: Re: [Gambas-user] Gambas has Gosub now!
But I get a compile
Superb work!
Bravo!
-- Original Message ---
From: Benoît Minisini gam...@users.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sun, 04 Mar 2012 02:23:57 +0100
Subject: Re: [Gambas-user] Gambas has Gosub now!
Le 04/03/2012 02:03, Emil
I would do it this way
1) I would make a class for data 1. If contains whatever PRIVATEs you wish
2) I would make an OBJECT[] which hold as many of the above class instances you
need
3) I would make an OBJECT[] which hold as many of the above OBJECT[] as you need
item 1: OBJECT[] has two
The second level OBJECT[] actually turns out to be an array of Classes.
My experience is people understand the OBJECT[] way because of the container
within a container concept.
It is the same thing :)
-- Original Message ---
From: tobi tobiasboeg...@googlemail.com
To:
I am using some keywords as Integer vars
DIM {event} AS INTEGER
DIM {timer} AS INTEGER
In the IDE,
the second line automatically capitalized and highlighted as a keyword
with keyword color.
In Gambas2. Maybe it propagated forwards into Gambas 3
-Fernando
Benoit,
I came across the need to call many different common small pieces of code
multiple times.
Naturally, we tend to make a SUB just for all of them.
I wondered if you'd consider resurrecting GOSUB {label}
which is in the same sub.
It would be in the same scope, no parameters allowed and
felder as STRING[] is a parameter passed into sub
It is no good outside of SUB
What you should do is make your sub
PUBLIC FUNCTION ListeKundeFelder(schlysselnr AS String, felder AS String[]) AS
STRING[]
and return the string[], assigning it to the original felder[]
-Fernando
--
I had a similar huge problem with pictures.
I found it to be this:
When I made a new picture, even if using an existing control,
the old picture still consumed the memory - it wasn't freed.
I solved it by doing (recalling from memory so I may have syntax wrong)
picture.clear which deallocated the
I wanted to verify that..
example:
I have a class called 'X' with a private variable
PRIVATE my_int AS INTEGER = -14
PUBLIC SUB _NEW()'===constructor===
my_int = -15
END
Questions:
1) The =-14 act as a constructor automatically for a _NEW instantiation?
2) The =-15 occur as a
First, what are you trying to do?
-- Original Message ---
From: Fabián Flores Vadell fabianfloresvad...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Fri, 10 Feb 2012 16:39:12 -0300
Subject: [Gambas-user] Gambas bug?
Hi.
When I execute
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 kevinfishbu...@eightvirtues.com
To: gambas-user@lists.sourceforge.net
Sent: Sun, 05 Feb 2012 02:39:43 -0500
MFmain.Label1.text = test_string
-- Original Message ---
From: abbat abbat...@mail.ru
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
-0500
Subject: Re: [Gambas-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 such a thing? How do you
+1100
Subject: Re: [Gambas-user] inheritance problems
On 04/02/12 17:42, nando wrote:
PUBLIC myint is only exactly one variable.
It's public.
-- Original Message ---
From: Shane Powellshanep1...@tpg.com.au
To: nand...@nothingsimple.com, mailing list for gambas users
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 wa...@voosen.eu
To:
How can it be empty AND have elements in it?
-- Original Message ---
From: Shane Powell shanep1...@tpg.com.au
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sat, 04 Feb 2012 12:05:24 +1100
Subject: [Gambas-user] inheritance problems
I have this in my
] inheritance problems
On 04/02/12 15:57, nando wrote:
How can it be empty AND have elements in it?
-- Original Message ---
From: Shane Powellshanep1...@tpg.com.au
To: mailing list for gambas usersgambas-user@lists.sourceforge.net
Sent: Sat, 04 Feb 2012 12:05:24 +1100
I see 10 items to SET.
I count more than 10 vars in the list of variables
??
-Fernando
-- Original Message ---
From: M. Cs. mohar...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Thu, 19 Jan 2012 21:57:53 +0100
Subject: [Gambas-user] Help! I
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
+0100
Subject: Re: [Gambas-user] Gambas Object Reference Count
See http://gambasdoc.org/help/comp/gb/object/count?v3
2012/1/10 nando nand...@nothingsimple.com
Benoit,
Is there a way to find out what the actual reference count is for a GAMBAS
object at runtime?
-Fernando
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
Question: Code piece
dim i as integer
dim s as string
i = 12345
s = the number is NUM
Replace$( s , NUM, STR$(i) , gb.case)
Replace$( s , ABC, STR$(i) , gb.case)
The first Replace will do the substitution
The second Replace will not do the substitution
The Question is this:
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
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 nand...@nothingsimple.com
...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
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
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 tobiasb...@web.de
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Wed, 14 Dec 2011 19:00:06 +0100
---
From: Rolf-Werner Eilert eilert-sprac...@t-online.de
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
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
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
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 gambas...@gmail.com
To: i...@eilert-sprachen.de, mailing list for gambas users
gambas-user@lists.sourceforge.net
Sent: Fri, 11 Nov 2011
set the logging level in the configuration file higher than zero
-- Original Message ---
From: fvegaf fve...@hotmail.com
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
I agree. The code looks correct.
-- Original Message ---
From: Jussi Lahtinen jussi.lahti...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Tue, 16 Aug 2011 19:31:19 +0300
Subject: Re: [Gambas-user] write to file question
What is your
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:
to the embedded strings too?
-- Original Message ---
From: nando nand...@nothingsimple.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sat, 23 Jul 2011 14:24:17 -0400
Subject: Re: [Gambas-user] Do embeded objects get released too upon destruction
?
Does
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
END
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
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
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
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 dag.jarle.johan...@gmail.com
To: Gambas-user@lists.sourceforge.net
18:35 is 6:35 pm
just in 24 hour time
-- Original Message ---
From: Kevin Fishburne kevinfishbu...@eightvirtues.com
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
-user] gb3: Format$
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$ lines, the same value is printed
Best wishes on your voyage!
-- Original Message ---
From: Benoît Minisini gam...@users.sourceforge.net
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
I must ask: what is IRL ?
-- Original Message ---
From: Benoît Minisini gam...@users.sourceforge.net
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
---
From: nando nand...@nothingsimple.com
To: Benoit gambas-user@lists.sourceforge.net
Sent: Tue, 10 May 2011 22:58:58 -0400
Subject: [Gambas-user] This Gambas 2 example does not work properly:
Make a label on a form: Label1
In code, run the following 3 lines:
Label1
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 sebi...@gmail.com
To: mailing list for gambas
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
' -this does not overwrite the 'B' to empty.
-Fernando
-- Original Message ---
From: nando nand...@nothingsimple.com
To: Benoit gambas-user@lists.sourceforge.net
Sent: Tue, 10 May 2011 22:58:58 -0400
Subject: [Gambas-user] This Gambas 2 example does not work properly:
Make
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
...@eightvirtues.com
To: gambas-user@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 dimension
Subject: Re: [Gambas-user] Can someone explain why this works?
because text.max is not text.count !
http://gambasdoc.org/help/comp/gb/array/max?v3
2011/5/5 nando nand...@nothingsimple.com:
Benoit,
Can you explain why this works and the reasoning behind it?
I would think there would
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 gam...@users.sourceforge.net
To: nand...@nothingsimple.com, mailing list for
@lists.sourceforge.net
Sent: Fri, 6 May 2011 15:13:00 +1000
Subject: 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
delete
' 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
1 - 100 of 179 matches
Mail list logo