Help for Numerology Program

In this category you can exchange your programming questions and solutions.
Post Reply
manhyac66
Posts: 3
Joined: Wed Oct 06, 2021 5:17 pm

Help for Numerology Program

Post: # 98362Post manhyac66
Fri Oct 08, 2021 4:26 pm

I am looking for help in a numerology program
I have different values from 1 to 9 (appearing according the initial name given, several times)
How can I tell the program that " Your name has 2 letters, value 3, Your name has 3 letters, value 5, etc, etc)
Done with stgStringGrid.Cell
Thanks for help
Image

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Re: Help for Numerology Program

Post: # 98363Post Marco
Tue Oct 12, 2021 10:07 am

len(trim$(name)) ?
best regards

manhyac66
Posts: 3
Joined: Wed Oct 06, 2021 5:17 pm

Re: Help for Numerology Program

Post: # 98364Post manhyac66
Thu Oct 14, 2021 5:26 pm

Thanks for help Marco
Does not seem to work with what I am looking for!

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Re: Help for Numerology Program

Post: # 98365Post Marco
Mon Oct 25, 2021 9:40 am

Maybe you mean:

dim a as integer
a=5
"your name has "+str$(a)+" letters"
best regards

Post Reply