Hi, I’ve just entered in Corona’s world and I’ve some question for you.
I want to develop a very easy app that processes a string of text generating a result as number.
I already have the function algorithm, but I don’t know how to apply it to my app.
Can you please explain me how to create the structure of this app?
Sounds like you need to review the getting started section.
https://docs.coronalabs.com/guide/programming/01/index.html
I don’t know how to elaborate the string written by the user
Maybe I just need a little help with editing strings
I need to find all lowercase wich follow uppercase characters and put they into a table, for example if I have the string “abCdeFGh” I want a table like {Cd,F,Gh}
I tried with the for-loop by maybe I wrong…I know that I have to search “%u” and “(%u)(%l)”
try actually looking at the documentation. https://docs.coronalabs.com/api/type/String.html would be a good starting point.
Ok, thank you!
Now I have a ugly-but-working function 
How does the goto code work in Lua?
I want something like this
local function() if condition is true then goto label1 else ... end label1 end
— Edit
I noticed that in Lua there isn’t goto function, so I solved it in this way:
local function() valid = true if condition is true then valid = false else ... end if valid == false then --label1 end end
Are you from a VB background? You could structure your code like this instead
local function() local function label1() --do whatever you would do at label1 here end local valid = not condition if valid then ... else ... label1() end end
me too (VB.NET in my day job)… and even in VB goto is a real bad practise!
I’ll try to forgot my past 
i recommend looking on udemy for some classes thats what I did . There are some for free and others for 10 bucks.
I also recommend using youtube.
Sounds like you need to review the getting started section.
https://docs.coronalabs.com/guide/programming/01/index.html
I don’t know how to elaborate the string written by the user
Maybe I just need a little help with editing strings
I need to find all lowercase wich follow uppercase characters and put they into a table, for example if I have the string “abCdeFGh” I want a table like {Cd,F,Gh}
I tried with the for-loop by maybe I wrong…I know that I have to search “%u” and “(%u)(%l)”
try actually looking at the documentation. https://docs.coronalabs.com/api/type/String.html would be a good starting point.
Ok, thank you!
Now I have a ugly-but-working function 
How does the goto code work in Lua?
I want something like this
local function() if condition is true then goto label1 else ... end label1 end
— Edit
I noticed that in Lua there isn’t goto function, so I solved it in this way:
local function() valid = true if condition is true then valid = false else ... end if valid == false then --label1 end end
Are you from a VB background? You could structure your code like this instead
local function() local function label1() --do whatever you would do at label1 here end local valid = not condition if valid then ... else ... label1() end end