Search found 1113 matches
- Tuesday 16th April 2024 2:23pm
- Forum: Lounge
- Topic: ChatGPT: something to play with over Christmas
- Replies: 11
- Views: 19376
Re: ChatGPT: something to play with over Christmas
It was a simple request to see if Bing could create Gambas code. I asked for Gambas code to display ASCII characters.
- Sunday 14th April 2024 10:17am
- Forum: Lounge
- Topic: Playground is broken
- Replies: 8
- Views: 598
Re: Playground is broken
OK. I have fixed it again. I'm going to have to do something with it to stop it breaking all the time.
- Wednesday 3rd April 2024 2:10pm
- Forum: General
- Topic: [Solved] Get the Previous Sunday from a Date
- Replies: 25
- Views: 2033
Re: [Solved - sort of] Get the Previous Sunday from a Date
Like a dog with a bone ... I can't let go until I have finished it :lol: Dim iDay As Integer = WeekDay(Now) If iDay = 6 Then iDay = -1 ' Move sat to begining of week Print Date(DateAdd(Now, gb.Day, -(iDay + 1) - gb.Week)) Woof! Woof! Sorry, but it returns the wrong Sunday. Using today's date, it re...
- Sunday 31st March 2024 11:31am
- Forum: General
- Topic: [Solved] Get the Previous Sunday from a Date
- Replies: 25
- Views: 2033
Re: [Solved - sort of] Get the Previous Sunday from a Date
That works for me.
- Saturday 30th March 2024 4:55pm
- Forum: General
- Topic: [Solved] Get the Previous Sunday from a Date
- Replies: 25
- Views: 2033
Re: [Solved - sort of] Get the Previous Sunday from a Date
I may be wrong .. but this seems to get the previous sunday. Print DateAdd(Now, gb.Day, -(WeekDay(Now) + 7)) This doesn't quite get it right. Using the following code I get the Sunday before last Sunday! Print Now Print DateAdd(Now, gb.Day, -(WeekDay(Now) + 7)) Result:- 30/03/2024 16:51:29 17/03/20...
- Saturday 30th March 2024 1:34pm
- Forum: Lounge
- Topic: Playground is broken
- Replies: 8
- Views: 598
Re: Playground is broken
The playground is in a Digital Ocean Droplet. This is basically a headless Ubuntu distro with Gambas installed via the ppa. So yes, they link to Gambas One. The main page does have a link to the Playground and the Farm. https://wordpress.gambas.one/
- Saturday 30th March 2024 8:48am
- Forum: Lounge
- Topic: Playground is broken
- Replies: 8
- Views: 598
Re: Playground is broken
It's not the Development Team that needs to look at this, it's me. I will sort it as.soon as I can.
10:10am 30/03/2024
Now fixed
https://gambas.one/playground/
10:10am 30/03/2024
Now fixed
https://gambas.one/playground/
- Friday 22nd March 2024 4:04pm
- Forum: Beginners
- Topic: Fileview sort the elements by date
- Replies: 5
- Views: 1499
Re: Fileview sort the elements by date
I can't see a way to do this using FileView, but you might consider creating your own file display to do this. Have a look at attached, there is a lot more you could do with it, but I hope it's a start.
- Saturday 16th March 2024 2:16pm
- Forum: Beginners
- Topic: Using CsvFile.Fields
- Replies: 10
- Views: 3537
Re: Using CsvFile.Fields
I think there may be a bug here, as I get the same #0 that you did. But just for fun, here is my workaround.
- Saturday 16th March 2024 1:43pm
- Forum: General
- Topic: Web Cookies
- Replies: 4
- Views: 550
Re: Web Cookies
Thanks, Bruce. I'll check it out.