|
Stowslee Wanderer
Joined: 20 Apr 2008 Posts: 69 Location: Watervliet, NY
|
Posted: Thu Nov 05, 2009 3:47 am
Using %proper with variables. |
I am having trouble making all things entered into a variable through the #additem <variable> <value> to be stored in proper case. Basically a list of names, that I want to be able to call on. Not that it really matters to the function of the thing, but appearance wise I would like to make the names uppercase. I have tried the following, but it does not work the way I had thought it would. Any help would be greatly appreciated.
Code: |
#additem HouseMembers %proper (%1)
|
If it cannot be made to store with the proper case in a variable some method of calling it up when I use #Echo so that all are uppercase is adequate. I tried the following to get that to work... which it didn't.
Code: |
#Echo %proper (@HouseMembers".")
|
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Thu Nov 05, 2009 1:21 pm |
Don't put spaces between the function and opening (. It needs to be %proper(%1), not %proper (.
Charneus |
|
|
|
Stowslee Wanderer
Joined: 20 Apr 2008 Posts: 69 Location: Watervliet, NY
|
Posted: Thu Nov 05, 2009 8:13 pm |
That was an easy fix, thank you.
|
|
|
|
|
|