Conveting Characters to Graphics

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15040
interpreted = N
texte = Hi all.Last week my colleague asked the list if there was a way to convert a set of characters (such as a surname) and put them in graphical format. Responses were as follows : ------------------------------------------------------------------------ ---------------------------------------- getChars start=1&end=1][SurName][/getChars] to get the first character, [getChars start=2&end=2][SurName][/getChars] to get the second character, [getChars start=3&end=3][SurName][/getChars] to get the third character, ------------------------------------------------------------------------ ---------------------------------------- 1. Create a graphic for each letter like A.gif a.gif B.gif b.gif and so on till you've got enough. Make sure you've got all text covered like '- or whatever accents you expect. Put all of your graphic files in a directory called fonts or whatever you want. 2. Use the following snippet:[loop start=1&end=[CountChars][surname][/CountChars]] [/loop] If [surname] = Kealoha, this would return: ------------------------------------------------------------------------ ----------------------------------------I can not get the getChars or the CountChars to work, it either comes up with an end {/HTMLforms] error or nothing. Does anyone else have any ideas ? Also, where are these commands from, they are not in the WebCatalog Command Reference.ThanksPaul Keen, Technical Director Internet UK Services Ltd, Port Hamble Marina, Hamble, Hampshire, UK, SO31 4QD t: + 44 (0) 1703 452409 x 204 f: + 44 (0) 1703 458409 paulk@inter.net.uk, www.inter.net.uk Associated Messages, from the most recent to the oldest:

    
  1. Re: Conveting Characters to Graphics (Olin 1997)
  2. Re: Conveting Characters to Graphics (Grant Hulbert 1997)
  3. Re: Conveting Characters to Graphics (Pat McCormick 1997)
  4. Conveting Characters to Graphics (Paul Keen 1997)
Hi all.Last week my colleague asked the list if there was a way to convert a set of characters (such as a surname) and put them in graphical format. Responses were as follows : ------------------------------------------------------------------------ ---------------------------------------- getChars start=1&end=1][SurName][/getChars] to get the first character, [getChars start=2&end=2][SurName][/getChars] to get the second character, [getChars start=3&end=3][SurName][/getChars] to get the third character, ------------------------------------------------------------------------ ---------------------------------------- 1. Create a graphic for each letter like A.gif a.gif B.gif b.gif and so on till you've got enough. Make sure you've got all text covered like '- or whatever accents you expect. Put all of your graphic files in a directory called fonts or whatever you want. 2. Use the following snippet:[loop start=1&end=[countchars][surname][/CountChars]] [/loop] If [surname] = Kealoha, this would return: ------------------------------------------------------------------------ ----------------------------------------I can not get the getChars or the CountChars to work, it either comes up with an end {/HTMLforms] error or nothing. Does anyone else have any ideas ? Also, where are these commands from, they are not in the WebCatalog Command Reference.ThanksPaul Keen, Technical Director Internet UK Services Ltd, Port Hamble Marina, Hamble, Hampshire, UK, SO31 4QD t: + 44 (0) 1703 452409 x 204 f: + 44 (0) 1703 458409 paulk@inter.net.uk, www.inter.net.uk Paul Keen

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:

shipping costs (1997) Google Problem (2003) Beta and new version questions? (1998) WebCat virtual postcard is done! Thanks for the help! (1998) os 8.5 (1999) Getting Emailer to send mail (1997) WCS Newbie question (1997) Nested tags count question (1997) Showif with an or (2003) Kaaaaahhhhhhhnnnnnnn! (1997) ShowNext (1997) Question about links (1999) New Server? (2006) Pacific Coast Software responsiveness (was WebMerchant - MacAuthorize) (1999) Search in 2 or more catalogs (1997) Trouble with formula.db (1997) Server IP address? (1998) problem serving foreign languages text (1997) WebCatalog2 Feature Feedback (1996) DATES (2004)