[CONVERTCHARS] suggestion

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32190
interpreted = N
texte = One of the things that's always bugged me about [CONVERTCHARS db=some.db] is that it requires two databases if you want to switch one set of characters to another set of characters and then switch it back later.Like, if I want to convert a + to an =, I need a db that looks like this: to from + =Now, if I want to change it back, I need another that looks like this: to from = +This can quickly get out of hand if you have a bunch of custom converting databases.It'd be kind of cool if you could have a convert databases with more than two fields, or at least the ability to dictate which field you're converting from and which you're converting to. So you could just have one database: to from + =use [CONVERTCHARS db=some.db&to=to&from=from] to go one way, and [CONVERTCHARS db=some.db&to=from&from=to] to change it back.I used to think this idea would wreak havoc with converts that changed one character to 64 characters (because you couldn't change it back). But now that WC4 can replace words, it seems more feasible. If it's not too late to get this into WebCat 4, that'd be great.Thank you, Michael############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: [CONVERTCHARS] suggestion (Michael Winston 2000)
  2. Re: [CONVERTCHARS] suggestion (Aaron Lynch 2000)
  3. [CONVERTCHARS] suggestion (Michael Winston 2000)
One of the things that's always bugged me about [CONVERTCHARS db=some.db] is that it requires two databases if you want to switch one set of characters to another set of characters and then switch it back later.Like, if I want to convert a + to an =, I need a db that looks like this: to from + =Now, if I want to change it back, I need another that looks like this: to from = +This can quickly get out of hand if you have a bunch of custom converting databases.It'd be kind of cool if you could have a convert databases with more than two fields, or at least the ability to dictate which field you're converting from and which you're converting to. So you could just have one database: to from + =use [CONVERTCHARS db=some.db&to=to&from=from] to go one way, and [CONVERTCHARS db=some.db&to=from&from=to] to change it back.I used to think this idea would wreak havoc with converts that changed one character to 64 characters (because you couldn't change it back). But now that WC4 can replace words, it seems more feasible. If it's not too late to get this into WebCat 4, that'd be great.Thank you, Michael############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Michael Winston

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Error Log.db --however (1997) WebCatalog 2.1 for NT (1998) unable to launch acgi in WebCat (1997) OT: Version Control (2007) WebCat2b12 - nesting [tags] (1997) can WC render sites out? (1997) Bug Report, maybe (1997) PCS Frames (1997) Running a store on BOTH http and https (1998) docs for WebCatalog2 (1997) [NT] ie 4.0 required (1997) blank page from template (1997) How to archive....? (1998) [ShowIf] and empty fields (1997) Type 11 errors setting up WebCAt 2 (1997) hiding hyperlink info in URL field (1999) taxTotal, grandTotal (1997) WebCat2b15MacPlugin - showing [math] (1997) Formatting a .txt file (1998) Re:quit command on NT (1997)