 |
yddadoysohw Newbie
Joined: 21 Aug 2009 Posts: 2
|
Posted: Sun Dec 11, 2011 9:16 pm
Case sensitive Database |
So.. i've been trying to use a database variable and enabling case sensitivity. 1 Problem that i'm having is that often times when i copy from a notepad to cmud as a String(Literal) and convert it to a Database type, it seems to wipe out the String and reverts back to an older value. Another problem is that it is not case sensitive and removes, at random, some uppercase or lowercase version of the same word. Even when i just save the notepad and try to import it, it won't load it properly, often times resorting randomly.
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sun Dec 11, 2011 11:32 pm |
Could you explain in detail how you are copying it into Cmud? Are you using the Package Editor? The command line? Tell us the exact steps and exact values you are using when saving, importing, etc.
You should also be aware that database variables do not normally keep things in the order that you enter them. It is a _database_ variable. The values are normally retrieved by a hash. If you need things in a particular order, you might need to do something different. If you explain the exact purpose you are trying to reach, we can help figure out the best way of doing it. |
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Mon Dec 12, 2011 1:24 am |
Personally, I find it much easier to use Lua databases, and would definitely help in your situation of case sensitivity. Granted, the CMUD case sensitivity should work as well, but since I've never dealt with case sensitivity in CMUD, I wouldn't know how well it works.
Rahab is correct, though. With databases, you won't get them in the order you want them to. You can sort them, however, using various methods, but if you're wanting d c a e b, you're not going to get that.
As for the importing and wiping out the string, that's kind of odd. We'll definitely need to know more details. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|