Long time no news

Started by Pierre Bellisle, October 07, 2025, 05:46:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Theo Gottwald

Quote from: José Roca on November 19, 2025, 09:43:06 PM> but the string engine is zero-based thats a problem for me

What this means?

> so i used Powerbasic and made  my own  libraries.

The code that you posted uses ansi strings, so it can't be used with unicode.

It also uses several global arrays. Not good for reusable code.

I definitely did not use the code i have posted, but a much more advanced version.
The code i posted was just the first strike that i got from the KI.

The final code is more like a spider-web takes sll's and includes from multiple places of my hard drive so it can not be easily shared. Yet if you need something you can always ask.

Theo Gottwald

Quote from: José Roca on November 19, 2025, 09:43:06 PM> but the string engine is zero-based thats a problem for me

What this means?


Purebasic has only 2 variants of using Strings(Data).
You can use the normal zero-terminated strings or you can use "Memory".
As the typical BASIC User i like to keep all data in strings,
where it has a name is easy to handle and the Compiler will take care of allocation and deallocation.
The problem with 0-terminated strings is just that they can not be used for binary data because it may contain a ZERO.
For me these strings  can only be used for Textboxes. So i would have needed to use the Memory  System which is too much C-like with all disadvantages. So i avoid that unless for a prototype.

Nicola

"Hi Charles,
I wanted to join those who are saying that O2 is truly something exceptional. I feel the same way. Even though I've only tested a few features so far, I am very happy with it. I would be very sorry if the project were ever abandoned.
I noticed some of you have been discussing AI. I tried to write a few programs in O2 with the help of Copilot and Gemini, but they tend to 'invent' functions. They write code that simply doesn't exist in O2. For instance, I tried to perform some image transformations on comics, and even then, they were making up non-existent O2 functions.
I just wanted to say hello to everyone here on the forum.
A big hug to you all!"


Postscript. I had Gemini translate what I wrote above... he got offended, he wrote me that if I send him working examples, he won't make things up anymore :-))

Theo Gottwald

This was completely predictable, Nicola. 🤖

Forums used to be the go-to places for hard-to-find technical expertise. Now, with AI, you can ask any question, and if one AI doesn't know, you simply try another until you get the answer you need. 💡 You really don't need forums for that anymore. These days, most of our discussions here are just casual conversation. Of course, if there are updates—like programming news from Charles, Josée, or Jürgen—that's different. AI can't provide personal project updates. But aside from that, there's barely any reason left to visit forums. It's pretty clear: AI isn't just replacing tax advisors, lawyers, and more; it's also making all kinds of technical advice obsolete. 🚀🧑�💻

#AICommunity #TechForums #KnowledgeSharing #ProgrammingAI #DigitalTransformation #FutureOfWork #Innovation 🤖💬🚀💻✨🤔

Charles Pegge

Hi Nicola,

I like Oxygen too, but I wonder whether AI will soon replace fixed programming languages entirely.

You could split the task into several stages for Gemini to produce more coherent results: produce algorithms then C++ then Oxygen code.