Page 1 of 1

Help for Numerology Program

Posted: Fri Oct 08, 2021 4:26 pm
by manhyac66
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

Re: Help for Numerology Program

Posted: Tue Oct 12, 2021 10:07 am
by Marco
len(trim$(name)) ?
best regards

Re: Help for Numerology Program

Posted: Thu Oct 14, 2021 5:26 pm
by manhyac66
Thanks for help Marco
Does not seem to work with what I am looking for!

Re: Help for Numerology Program

Posted: Mon Oct 25, 2021 9:40 am
by Marco
Maybe you mean:

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