I mind the third option of de lower bar. I see it in Spanish, and I've
translate it as "Find Result". I don't know what is the english legend of
that button. Sorry about my poor english.
[image: Captura de pantalla de 2023-01-17 17-40-20.png]
Best regards
El mar, 17 ene 2023 a las 14:47, T Lee
On 1/17/23 07:57, Jorge Carrión wrote:
With Gambas 3.18 I can't see the Console, the Notes or the Find Results.
All I get with F11 key is a Toggled "Console" button in the Bottom bar of
Editor. It's only me or its a bug?
I can toggle Console and Notes normally without issue. I do not see any
With Gambas 3.18 I can't see the Console, the Notes or the Find Results.
All I get with F11 key is a Toggled "Console" button in the Bottom bar of
Editor. It's only me or its a bug?
My info:
[System]
Gambas=3.18
OperatingSystem=Linux
Kernel=5.15.0-58-generic
Architecture=x86_64
Distribution=Linux
On 7/28/21 9:36 PM, richard terry wrote:
Hi list,
Is it possible to generate a QR code image from gambas?
Thanks
Richard
You could shell out to the 'qrencode' command-line utility.
Or, look on the Gambas Farm for "QRCreator".
--
Lee
___
Hi list,
Is it possible to generate a QR code image from gambas?
Thanks
Richard
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
Le 13/01/2020 à 20:23, Steve a écrit :
This is my follow up as promised. After the update I am confirming that
printing is seriously screwed. I have traced thru code and information
is flowing however the print (as in on paper) using the paint.drawtext
is giving unstable results. Printing a
This is a discussion list. Everyone subscribed to the list gets every message
sent to the list. How was the message misrouted?
BTW, this particular list is deprecated. Subscription to the new list is at:
https://lists.gambas-basic.org/listinfo/user
On 10/8/19 11:47 AM, Antonis wrote:
Dear
Dear Mr. Benoît,
I'm afraid that your below email was misrouted to wrong recipient.
-Original Message-
From: Benoît Minisini [mailto:g4m...@gmail.com]
Sent: Tuesday, 8 October, 2019 12:09
To: mailing list for gambas users
Subject: Re: [Gambas-user] webpage editor
Le 08/10/2019 à 10:56,
Le 08/10/2019 à 10:56, Mayost Sharon a écrit :
Hello
Thank you
I guess because I'm translating through Google into English so I'm not well
understood, I'm sorry.
I'm not talking about the bold text
I'm talking about, adding space character, and it spoils the HTML code
For example:
<%
Dim
Hi all, How do I copy HTML inputs to a gambas variable.
<%Dim HtmlInput As String%>
Login userid
password
<%!Arg ''??? %>
<%''How Do I put user and password into HtmlInput.%>
RegardsMike
___
Gambas-user mailing list
I'd like to point out that the five uses of 'Now' in the example all occur at
different
times - but very close together temporally.
A better test is to use only one 'Now' in the program into a variable and
format with the
different lines.
--
Open WebMail Project (http://openwebmail.org)
Le 08/04/2019 à 16:21, Hans Lehmann a écrit :
Hello!
Where is the mistake?
Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ ";
Format$(Time(Frac(Now())), "hh:nn:ss"); Format$(Time(Frac(Now())), "(t)")
Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ ";
Format$(Time(Now()), "hh:nn:ss");
Hello!
Where is the mistake?
Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ ";
Format$(Time(Frac(Now())), "hh:nn:ss"); Format$(Time(Frac(Now())), "(t)")
Print "Time-Part: "; Round(Frac(Now()), -8); " ▸ ";
Format$(Time(Now()), "hh:nn:ss"); Format$(Time(Now()), "(t)")
Output:
Time-Part:
If I remember well the icon must have the class name in lower case.
And stored in
.hidden/control folder
And in png format
Le jeu. 4 avr. 2019 11:13, bill-lancaster
a écrit :
> I haven't yet been able to install the control's icon successfully.
> I have installed an icon in the
You sent your message to the old Gambas Mailing List which has been deprecated. I don't know what happened to the auto-reply
informing of such. Anyway, here's the new list's subscribe form:
https://lists.gambas-basic.org/listinfo/user
___
Lee
On 4/4/19 4:57 AM, bill-lancaster wrote:
I
Check if the icon is a png and the name is the same of control but in lower
case...
El jue., 4 abr. 2019 a las 11:13, bill-lancaster
() escribió:
> I haven't yet been able to install the control's icon successfully.
> I have installed an icon in the .hidden/control folder of the project but
>
I haven't yet been able to install the control's icon successfully.
I have installed an icon in the .hidden/control folder of the project but
the icon shown in collection of controls is a default one with no icon.
Any advice would be welcome
Kubuntu 18.04
Gambas 3.12.2
--
Sent from:
Also, I didn't notice when I replied, but thanks to the Autoresponse from the
list:
This mailing-list is deprecated.
Please now subscribe to https://lists.gambas-basic.org/listinfo/user
___
Lee
On 2/5/19 2:35 AM, T Lee Davidson wrote:
Project > Properties > Statistics ?
___
Lee
On
Project > Properties > Statistics ?
___
Lee
On 2/5/19 12:03 AM, richard terry wrote:
Thanks, I suspected as much.
Sadly, its not a short process - I'd hate to think how many thousands of lines of code... will take me weeks I guess. BTW
anyway of quickly counting how many forms/modules
Thanks, I suspected as much.
Sadly, its not a short process - I'd hate to think how many thousands
of lines of code... will take me weeks I guess. BTW anyway of quickly
counting how many forms/modules etc and lines of code in a project?
Regards
richard
On 5/2/19 3:30 pm, Fabien Bodard
Unfortunately I have a bad new for your case.
There is two reasons for that.
- This coding way was really dangerous because many things cas appen to
your variable even during the loop time.
- Benoit have to remove this ability to resolve a conflit on the new Just
In Time Compiler.
So you have
Hi List,
Recently after a few years I upgraded a machine to Mint 19.1 and latest
ppa stable gambas.
My long running code won't run properly wherever I have a loop
variable which was declared in the general declarations at the top of
the form rather than in a sub, an error comes up
On Mon, Oct 22, 2018 at 1:17 AM Benoît Minisini wrote:
>
> Le 22/10/2018 à 00:43, Markus Schatten a écrit :
> > Dear all,
> >
> > I'm having a weird "Out of bounds" error in the DataBrowser. I'm using
> > the DataBrowser with a PostgreSQL database to edit tables. The error
> > occurs only if I
Le 24/10/2018 à 04:07, sbungay a écrit :
On 18-10-23 07:55 PM, Benoît Minisini wrote:
Le 23/10/2018 à 17:56, sbungay a écrit :
I did send a sample project along yesterday and it never got posted.
Will try again, hope it gets through this time.
I have two frames on the form, two text boxes,
Le 22/10/2018 à 00:43, Markus Schatten a écrit :
Dear all,
I'm having a weird "Out of bounds" error in the DataBrowser. I'm using
the DataBrowser with a PostgreSQL database to edit tables. The error
occurs only if I add a new row (with a click on the empty row), enter
data for a few columns,
Dear all,
I'm having a weird "Out of bounds" error in the DataBrowser. I'm using
the DataBrowser with a PostgreSQL database to edit tables. The error
occurs only if I add a new row (with a click on the empty row), enter
data for a few columns, then go back to edit some previous column and
then
I answered you in the correct mailing list, if you signed up you should
have received it.
If necessary, check in the spam.
Regards
Gianluigi
Il giorno mar 2 ott 2018 alle ore 23:31 Wael M via Gambas-user <
gambas-user@lists.sourceforge.net> ha scritto:
> Lee, I subscribed to the list you
Lee, I subscribed to the list you mentioned but should I repeate the same
thread there or what?
Charlie, thanks for your answer but it didn't exactly did what I want
I'm using Ubuntu
the code you put gave me this result: XKBLAYOUT=us,ara
what I need to get is the current keyboard layout
maybe I
I did not notice, and perhaps you didn't either Charlie, that this is the
DEPRECATED Gambas list.
The new (User) list registration is at https://lists.gambas-basic.org/listinfo
___
Lee
On 10/2/18 8:08 AM, Charlie Ogier wrote:
> If you are using *buntu/Mint etc (and maybe other distros) you
If you are using *buntu/Mint etc (and maybe other distros) you could try
this: -
*Public Sub Form_Open()**
**Dim sKBFile As String[] = Split(File.Load("/etc/default/keyboard"),
gb.NewLine)**
**Dim sLine As String **
**
**For Each sLine In sKBFile**
** If sLine Begins "XKBLAYOUT" Then **Print
thank you very much Lee
you solved it
I used:
Desktop.SendKeys("[Alt_L] + [Shift_L]")
so another problem appeared,
I need to detect if language is Arabic or English
I can't find a solution for that
Can you help me?
On Mon, 10/1/18, T Lee Davidson
Perhaps Desktop.SendKeys ?
___
Lee
On 10/1/18 12:42 PM, WAEL via Gambas-user wrote:
> Hello
> I'm trying to change system keyboard layout by pressing a key
> I can't find the right code for doing so
> please help
> I usually press Alt+Shift to change keyboard from English to Arabic and vice
>
Hello
I'm trying to change system keyboard layout by pressing a key
I can't find the right code for doing so
please help
I usually press Alt+Shift to change keyboard from English to Arabic and vice
versa, but I need to program it to a button in my project
I tried:
system.language ="ar-EG"
but it
As Benoit asked you, to be able to answer your questions, you need to
subscribe the new mailinglist [0]
This is useful for future research [1]
If you register up and repeat the question, I can attach the database file
you requested.
Note that I also don't have the CD but the example is attached to
Am 27.09.2018 um 22:51 schrieb Antonio Teixeira:
> Thank you Hans. Problem solved-
Sorry, but this mailing-list is deprecated. The new one is at:
https://lists.gambas-basic.org/listinfo/user
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
signature.asc
Description: OpenPGP
Hi,
Thank you Hans. Problem solved-
Regards
António Teixeira
Hans Lehmann escreveu no dia quinta, 27/09/2018 à(s)
16:34:
> Hi,
>
> look here: https://www.gambas-buch.de/doku.php?id=k28:k28.3:start
>
> Hans
>
>
> ___
> Gambas-user mailing list
>
Sorry, but this mailing-list is deprecated. The new one is at:
https://lists.gambas-basic.org/listinfo/user
Le 27/09/2018 à 20:45, bushbug a écrit :
I am an absolutely new user of Gambas, 76 years old and only using it to
write simple self-use programs. I bought the e-book Beginners Guide to
I am an absolutely new user of Gambas, 76 years old and only using it to
write simple self-use programs. I bought the e-book Beginners Guide to
Gambas, Revised edition from Amazon and as a consequence it does not have
the cd that would have been included with the hard copy.
I am using Ubuntu 18.4
Hi,
look here: https://www.gambas-buch.de/doku.php?id=k28:k28.3:start
Hans
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
Hi everyone,
Does anyone worked with open-ssl in gambas? Any chance to post an example
about how to encrypt and decrypt a string?
I looked everywhere and i didnt find any info about that.
Thanks in advance.
Rregards
António Teixeira
___
Gambas-user
well the solution are easyle! puff:
1) unsubscribe all the people subscribed to that list? if not then:
2) and then set the subscription by approval? event auto approbed by email!
if not them
3) to complete, all the messages put them by moderation!
the idea its to limit all the list actions..
Am 14.07.2018 um 09:19 schrieb John Rose:
> You state that the list is deprecated but people are still posting to
> it. If deprecated, the list need to be 'stopped'. Also, I am not able to
> send to the list that you state is the replacement: messages are
> rejected. When I try to subscribe to
Am 14.07.2018 um 07:57 schrieb Karl Reinl:
> on a form, choose the property window and open the second Tab (think its
> called hierarchy)
This mailinglist is deprecated. The Gambas User Mailinglist is now here:
https://lists.gambas-basic.org/listinfo/user
u...@lists.gambas-basic.org
Please
Am 14.07.2018 um 06:33 schrieb Shane:
> how can I enter a value in a component and then press enter and have my
> program tab into the next component in the tab order?
>
>
> cheers Shane.
This mailinglist is deprecated. The Gambas User Mailinglist is now here:
Christof,
You state that the list is deprecated but people are still posting to
it. If deprecated, the list need to be 'stopped'. Also, I am not able to
send to the list that you state is the replacement: messages are
rejected. When I try to subscribe to the new list, nothing happens and I
Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane:
> how can I enter a value in a component and then press enter and have my
> program tab into the next component in the tab order?
>
>
> cheers Shane.
>
Salut Shane,
on a form, choose the property window and open the second Tab (think its
how can I enter a value in a component and then press enter and have my
program tab into the next component in the tab order?
cheers Shane.
--
Check out the vibrant tech community on one of the world's most
engaging
Am 13.07.2018 um 18:19 schrieb John Rose:
> @zxMarce
>
> I think that I've finally worked out how to post to Gambas. It's been
> years since I did it and the email address has changed.
>
> You can email me on john.aaron.r...@gmail.com
>
> I've not tried the FIALKA (post war?). Lorenz is purely
Am 13.07.2018 um 17:28 schrieb John Rose:
> I used to put my Gambas developed apps on a particular website. However,
> I've now lost its URL. Does anyone know the URL of such a site?
>
> I have a number of Gambas apps. I've just changed my iRecorder app
> (which uses the get_iplayer command
Am 13.07.2018 um 17:18 schrieb Leon Davis:
> I would like to be able to connect with Google Drive & Drive One type
> services and download and display image files...
> --
> Check out the vibrant tech community on one of
@zxMarce
I think that I've finally worked out how to post to Gambas. It's been
years since I did it and the email address has changed.
You can email me on john.aaron.r...@gmail.com
I've not tried the FIALKA (post war?). Lorenz is purely Gambas. It's
modified from the original in that some
*On 13/07/18 12:28, John Rose wrote:*
> I used to put my Gambas developed apps on a particular website.
> However, I've now lost its URL. Does anyone know the URL of such a site?
> I have a number of Gambas apps. I've just changed my iRecorder app
> (which uses the get_iplayer command line
I used to put my Gambas developed apps on a particular website. However,
I've now lost its URL. Does anyone know the URL of such a site?
I have a number of Gambas apps. I've just changed my iRecorder app
(which uses the get_iplayer command line program) to operate better.
This app is a GUI to
This bug are same as http://gambaswiki.org/bugtracker/edit?object=BUG.
1331=L21haW4-
Gambas 3.9 does not have that problem mentiuoned by richad, since the cited
commits, some DB modules has problems since the commits
https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1
Le 04/07/2018 à 00:30, richard terry a écrit :
Hi List,
I've not found a solution to not being able to access my postgres
database with gambas 3.11, so I need to be able to downgrade to say
3.8.4 or 3.9 or therabouts which I know runs.
I've even tried installing mint on a new machine and
Hi List,
I've not found a solution to not being able to access my postgres
database with gambas 3.11, so I need to be able to downgrade to say
3.8.4 or 3.9 or therabouts which I know runs.
I've even tried installing mint on a new machine and the same problem -
an error message when I try
Correction, "is" not "of".
Jussi
On Sat, Jun 9, 2018 at 12:13 AM, Jussi Lahtinen
wrote:
> I guess it is just waiting process with pid 8634... how do you ensure this
> pid of given to the process?
>
>
> Jussi
>
> On Fri, Jun 8, 2018 at 11:41 PM, Demosthenes Koptsis <
> demosthen...@gmail.com>
I guess it is just waiting process with pid 8634... how do you ensure this
pid of given to the process?
Jussi
On Fri, Jun 8, 2018 at 11:41 PM, Demosthenes Koptsis wrote:
> Hello, i implemented a ptrace and waitpid external functions in order to
> read/write a memory address of a process.
>
>
On Fri, 08 Jun 2018, Demosthenes Koptsis wrote:
> Hello, i implemented a ptrace and waitpid external functions in order to
> read/write a memory address of a process.
>
> i want to make a trainer for a game in gambas and i created a small program
> that reads and writes to a memory process.
>
>
Hello, i implemented a ptrace and waitpid external functions in order to
read/write a memory address of a process.
i want to make a trainer for a game in gambas and i created a small
program that reads and writes to a memory process.
The problem is that when i try to write to memory it
On 06/04/2018 12:26 PM, Carlos Valente wrote:
> I'm going through the same problem. I use Ubuntu 16.04.4 and the Gambas
> version is 3.11.90
>
This mailing list is deprecated. See the new lists at:
http://lists.gambas-basic.org/listinfo
--
Lee
I'm going through the same problem. I use Ubuntu 16.04.4 and the Gambas
version is 3.11.90
--
Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html
--
Check out the vibrant tech community on one of the world's
Am 31.05.2018 um 23:37 schrieb Benoît Minisini:
> "A Computer is a state machine. Threads are for people who can't program
> state machines." - Alan Cox.
>
> :-)
Great. You boys and girls are talking on the wrong ML.
...
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
2018-06-01 8:51 GMT-04:00 Jussi Lahtinen :
> If no "quantum instructions" are used, it behaves just like normal
> computer.
>
oh! then if are "not-multithreath" ... so need to be multi-threath then! in
a quantum computer!
> It would be much like some instruction set extension (like SSE etc).
No. It's still state machine. Everything is done instruction by
instruction. If no "quantum instructions" are used, it behaves just like
normal computer.
It would be much like some instruction set extension (like SSE etc). So,
maybe some clever optimizations for multi-threading, but no fundamental
now if the machine are quantum based? umm that's may change all?
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2018-05-31 20:01 GMT-04:00 Steve G via Gambas-user <
gambas-user@lists.sourceforge.net>:
> Most people don't ask for clarification when they believe there's an
> insult
Most people don't ask for clarification when they believe there's an insult in
there. Next time somebody calls you and ass I'd like to see if you clarify it
with them but yes we should kill this dead horse again. You're welcome to put
the last word if you'd like
Sent from TypeApp
On May
My foul attitude comes from the belief that the original poster was insulting
me which he explained he used terminology that apparently did not cross over
from whatever culture to whatever culture. Although I do stand by my thought
that programmers just have bad attitudes on all sides. Thank
> Or you could use terms that all peopleof all cultures understand ...
>
Unfortunately, there is no such thing.
> ... and stop beating the dead horse. You used some kind of terminology
> specific to one culture that was your mistake I took it as an insult my
> mistake. Now the question is does
Or you could use terms that all peopleof all cultures understand and stop
beating the dead horse. You used some kind of terminology specific to one
culture that was your mistake I took it as an insult my mistake. Now the
question is does this keep going or do we realize that we both spoke
Necromancing means act of rising very old thread back to life. It is not
name calling, it is not insult. It was just stating the bad habit. And the
old thread did contain the solution. You could have behaved and ask
elaboration to it.
Jussi
On Fri, Jun 1, 2018 at 1:59 AM, Steve G wrote:
> You
Btw, if you want to see practical example of one option what I explained
(or at least tried to), then look how Task is used in Fractal named example.
You can find it from software farm.
And here you can find proper internet etiquette.
https://www.youtube.com/user/commentiquette
Jussi
On Fri,
You actually put an answer in earlier that makes sense something I will look
into. However your initial reply included name calling why don't you take a
look back at something called "necromancer". As you put it in your reply it was
very condescending and clearly meant to insult that is why you
> It is amazing how programmers are so petty. I went through and reread that
> thread and I don't see any answers in there to what I'm trying to do.
"You can write two separated gambas applications that communicate to each
other."
I explained it further with me second reply.
> By the way
No, I actually figured out how to explain it. Hopefully.
Computer is state machine, means that it is always in one state at a time.
Nothing in it happens simultaneously. Everything is processed in line, but
order in the line can change. Even interruptions are processed in line,
even when they are
It is amazing how programmers are so petty. I went through and reread that
thread and I don't see any answers in there to what I'm trying to do. By the
way your insult was really not much of an insult. However I will give you a
good one. You are a complete moron and socially inept. Instead of
I don't know how to explain the issue shortly, if you are not familiar with
what state machine means. And if you do, I'm not sure what to explain
further.
However, here is practical answer to your problem. Gambas itself doesn't
need to be multi-threaded to achieve such things. You can simply use
Please read the whole thread you necromanced, you don't need Gambas to
support multi-threading for that.
Jussi
On Fri, Jun 1, 2018 at 12:27 AM, MacGyver via Gambas-user <
gambas-user@lists.sourceforge.net> wrote:
> I will give you a real life example of the need for multithreading.
>
> project
I don't think I understood your reply or maybe there was no reply. If there was
a reply then I'd love to hear your ideas on how to take care of this issue.
Without threading.
Sent from TypeApp
On May 31, 2018, 13:37, at 13:37, "Benoît Minisini" wrote:
>Le 31/05/2018 à 23:27, MacGyver via
Le 31/05/2018 à 23:27, MacGyver via Gambas-user a écrit :
I will give you a real life example of the need for multithreading.
project to monitor status of computers on a network. this is done with a
ping to each system from a timer. the result is either online or offline
depending on ping
I will give you a real life example of the need for multithreading.
project to monitor status of computers on a network. this is done with a
ping to each system from a timer. the result is either online or offline
depending on ping results. The program is unresponsive to the user while
multiple
2018-05-26 12:15 GMT-04:00 Gianluigi :
> 2018-05-26 18:00 GMT+02:00 PICCORO McKAY Lenz :
>
> > 2018-05-26 11:44 GMT-04:00 Gianluigi :
> >
> > > Hasta Ubuntu siempre!
> > >
> > it's "U HAsta siempre" and not "hasta" must be
2018-05-26 18:00 GMT+02:00 PICCORO McKAY Lenz :
> 2018-05-26 11:44 GMT-04:00 Gianluigi :
>
> > Hasta Ubuntu siempre!
> >
> it's "U HAsta siempre" and not "hasta" must be "por"
>
> puff another reason to not use winbuntu!
>
>
I'm sorry for you but
2018-05-26 11:44 GMT-04:00 Gianluigi :
> Hasta Ubuntu siempre!
>
it's "U HAsta siempre" and not "hasta" must be "por"
puff another reason to not use winbuntu!
>
> 2018-05-26 17:12 GMT+02:00 PICCORO McKAY Lenz :
>
> > a winbutnu problem:
> >
Hasta Ubuntu siempre!
2018-05-26 17:12 GMT+02:00 PICCORO McKAY Lenz :
> a winbutnu problem:
> https://www.google.com/search?q=Failed+to+load+module%27+
> appmenu-gtk-module=utf-8=utf-8
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2018-05-26
Am 26.05.2018 um 17:12 schrieb PICCORO McKAY Lenz:
> a winbutnu problem:
> https://www.google.com/search?q=Failed+to+load+module%27+appmenu-gtk-module=utf-8=utf-8
Please talk in u...@lists.gambas-basic.org
This list is deprecated.
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
Hi Carlos,
This mailinglist is deprecated
Here you can subscribe to the new one [0]
You should also subscribe to the bugtraker [1] and in addition to the
explanation paste in the space provided the System information you can get
from the help menu (?) of Gambas
Regards
Gianluigi
[0]
a winbutnu problem:
https://www.google.com/search?q=Failed+to+load+module%27+appmenu-gtk-module=utf-8=utf-8
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2018-05-26 10:42 GMT-04:00 Carlos Valente :
> Hi,
>
> I use ubuntu mate in version 18.04 and
Hi,
I use ubuntu mate in version 18.04 and when I open the terminal and
load the gambas3, the message 'Gtk-Message: 11: 20: 47.762: Failed to
load module' appmenu-gtk-module '' appears, but the shrimp opens ,
apparently normal. But if I create or open a file to edit, I can not
type
Tobi,
Thanks for the pointer to that thread. I had tried searching the message
archives, but I probably didn't find it since I was looking for bugs
related to the Format function.
I did try changing CDate(...) to Date(...), but it didn't change my
results. I had also tried an implicit
On Sat, 19 May 2018, George wrote:
> > CDate uses UTC and, without the time information in the string, it would
> store midnight. Format uses local time.
>
> That is definitely part of the issue. My local time is GMT-04, and here's
> what I get when specifying the time in my test:
>
> Test
I noticed a post from Benoît in another thread that this mailing list has
been deprecated, so I'm going to repost this in u...@lists.gambas-basic.org
On Sat, May 19, 2018 at 1:20 PM, George wrote:
> > CDate uses UTC and, without the time information in the string, it
> CDate uses UTC and, without the time information in the string, it would
store midnight. Format uses local time.
That is definitely part of the issue. My local time is GMT-04, and here's
what I get when specifying the time in my test:
Test date: 5/4/2018 03:59:00 Formatted: 05/03/18 Thu
Test
But Debug (Print) localizes!
However, with the dates I always get lost :-(
Regards
Gianluigi
2018-05-19 16:00 GMT+02:00 T Lee Davidson :
> CDate uses UTC and, without the time information in the string, it would
> store midnight. Format uses local time.
>
> So,
CDate uses UTC and, without the time information in the string, it would store
midnight. Format uses local time.
So, anyone in a time zone behind UTC will get the previous day printed. Try
this format string:
zTestResult = Format(CDate(zTestDate), "mm/dd/yy hh:nn ddd")
Does the difference in
It also works with Gambas 3.11.2
'' Main.Main.9: Test date: 5/4/2018 00:00:00 Formatted: 05/04/18 ven
Regards
Gianluigi
2018-05-19 15:36 GMT+02:00 George :
> Sorry, I should have added that I'm on version 3.11.2
>
> On Sat, May 19, 2018 at 9:27 AM, George
I'm using the repository '
http://ppa.launchpad.net/gambas-team/gambas3/ubuntu'
Is there something that's more up-to-date?
On Sat, May 19, 2018 at 9:08 AM, Gianluigi wrote:
> I think it depends on your version of Gambas, I get the correct result with
> the master:
>
>
I think it depends on your version of Gambas, I get the correct result with
the master:
Dim zTestDate As String
Dim zTestResult As String
zTestDate = "5/4/2018"
zTestResult = Format(CDate(zTestDate), "mm/dd/yy ddd")
Debug "Test date: " & zTestDate & " Formatted: " & zTestResult
''
When using the Format function to format a date, the date gets offset by 1
day. Here's an example:
Dim zTestDate As String
Dim zTestResult As String
zTestDate = "5/4/2018"
zTestResult = Format(CDate(zTestDate), "mm/dd/yy ddd")
Debug "Test date: " & zTestDate & " Formatted: " &
I have set the tab size to 1 space in both the
Tools->Preferences->Editor->Default tab size and also in the
Project->Properties->Options areas, yet when I highlight a block of code
and press [Tab] to move the block to where I want it the editor always
indents by 2 spaces for each press of the
1 - 100 of 36629 matches
Mail list logo