Search found 151 matches

by Xero
Fri Oct 13, 2023 4:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where are the newbies?
Replies: 139
Views: 1068345

Re: Where are the newbies?

This has probably been said before, but I will add to the numbers. I am an unprofessional developer. I created some in-house business management software that I use to keep track of simple things in my business. They all look like they've been shipped with Windows 98, to hack a previously used phras...
by Xero
Mon Jun 05, 2023 12:38 pm
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

Re: LC to C# conversion

Having looked into what I want to do, there is definitely a schism between the two types of code that I am sure wouldn't be easily translated, unless you knew both languages. It might be easier with some operations, like filtering arrays, but dealing with pixel data seems to be vastly different. In ...
by Xero
Fri May 12, 2023 7:28 am
Forum: Off-Topic
Topic: Hand-made furniture
Replies: 4
Views: 3768

Re: Hand-made furniture

Ha, yeah. In the 80's, electronic music was going to be the downfall of traditional bands. Why do you need a drummer when you have a drum machine? And yet, we still have thriving musicians, churning out great stuff. Along with the mass-produced, hollow stuff as well of course. But will we see today'...
by Xero
Thu Apr 06, 2023 1:43 am
Forum: Off-Topic
Topic: A.I. Rant
Replies: 32
Views: 15667

Re: A.I. Rant

@jacque, we're also seeing that with social media. People are generating information on socials and spreading it, and people are believing it. We only need to look at the piles of misinformation in just about every field being shunted around the internet to see that datasets are easily made. And if ...
by Xero
Mon Apr 03, 2023 1:15 am
Forum: Off-Topic
Topic: A.I. Rant
Replies: 32
Views: 15667

Re: A.I. Rant

I didn't get through all of the posts here... I am a child of the late 70's, early 80's. No attention spa But anyway... The current AI bots are pretty crude in all forms. As an artist, I have been keeping an eye on Midjourney and the other art-generators. Much the same goes for ChatGPT as does with ...
by Xero
Tue Mar 21, 2023 2:12 pm
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

Re: LC to C# conversion

So, I take it you haven't tried the ChatGPT thing? No... from what I have seen of Chat GPT it's good for telling you how to make a fruit salad out of fruit, but much more complex than that and it will struggle. :D This is one of those breaking ground things that it can't just trawl the internet for...
by Xero
Tue Mar 21, 2023 10:46 am
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

Re: LC to C# conversion

Thanks Bernd, but the OP was in relation to a set of code that I want to give people as part of a game, so would need to be run easily, and downloading LC and running it etc. didn't fit the bill, so I have chosen a more widely used language that can be executed online with an emulator. The apps that...
by Xero
Tue Mar 21, 2023 1:54 am
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

Re: LC to C# conversion

The project this question was in regards to has to do with image manipulation, particularly the aRGB channels of a bitmap image. Looking in to it so far, the methods are completely different for LC and C#. For example, in LC, you load the data of the bitmap into a variable and pick through it, each ...
by Xero
Fri Mar 17, 2023 4:34 am
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

Re: LC to C# conversion

Thanks Stam, I think you poignantly summed up all of my troubles in trying to code C# straight off my LC file. LC is so simple, it's like telling my 5 year old nephew what to do. C# has a completely different starting point and path. The logic doesn't translate well. I have looked through Rosettacod...
by Xero
Tue Mar 14, 2023 1:50 pm
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

Re: LC to C# conversion

Thanks Craig...
I guessed as such. The only problem being that I don't have access to the same community as I do here. Ask a question here, get a good answer, answer a question out there, get a blank stare...
So learn on I will I guess!
XdM
by Xero
Mon Mar 13, 2023 3:30 am
Forum: Off-Topic
Topic: LC to C# conversion
Replies: 40
Views: 33357

LC to C# conversion

Hi All... I have a working stack in LC that I want to translate into C# language. I am currently trying to upskill my C# knowledge (not hard since it's almost non-existent!) to do it myself, but time is getting at me. What would be the best way to translate the LC stack into a working C# code? Thank...
by Xero
Wed Dec 07, 2022 6:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Getting Index of Characters
Replies: 17
Views: 13061

Re: [SOLVED] Getting Index of Characters

Thanks Dick, Part of the original idea was to limit the number of searches as per your code. I have a nominated number in my stack so you can change the number of returned responses, but am just working through how to integrate it into my code. I can imagine this code being used on large texts (enti...
by Xero
Sun Dec 04, 2022 10:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Getting Index of Characters
Replies: 17
Views: 13061

Re: [SOLVED] Getting Index of Characters

Thanks Stam. When I revised the code I ended up taking the same approach with less elegant code. Thanks for the explanation Thierry, When I revised the solution, I worked out that the offset kept counting from the start of the block of text that I was searching so I had to separate the paragraphs. N...
by Xero
Sat Dec 03, 2022 2:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Getting Index of Characters
Replies: 17
Views: 13061

Re: [SOLVED] Getting Index of Characters

Thanks Stam, but yes, I do need the paragraph data as well, so the first letter of the second paragraph would be retuned as 2,1, not just 400. After reviewing the stack with a different sample, I have realised that I don't even get that, I am getting the paragraph number, but the character number as...
by Xero
Fri Dec 02, 2022 1:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Getting Index of Characters
Replies: 17
Views: 13061

Re: [SOLVED] Getting Index of Characters

Refer to Stam's post below for working code.

Go to advanced search