Re: Field Contents Raw

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22657
interpreted = N
texte = >The contents of a field in a database is webdna(a series of showifs and >math) I want to display the raw value not the resultant dna.If you store WebDNA in a database field, say [math]1+1[/math] for example, then doing a search and displaying that field inside [founditems] will indeed show the literal raw text [math]1+1[/math]. If you want to force WebCatalog to interpret that as WebDNA, then wrap [Interpret] around the fieldname.>What if it is also a text variable can I display the raw value there?There's not enough English grammar in this sequence of words for me to understand it, but if I turn on my psychic hat, I think you're asking if you can store uninterpreted WebDNA into a text variable. Yes, you can, but you have to be careful to wrap [Raw] around the parts you want to remain uninterpreted.[text]myVariable=[raw][math]1+1[/math][/raw][/text][myVariable] will display literally [math]1+1[/math] [Interpret][myVariable][/Interpret] will display 2Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Field Contents Raw (PCS Technical Support 1999)
  2. Field Contents Raw (Bob Minor 1999)
>The contents of a field in a database is webdna(a series of showifs and >math) I want to display the raw value not the resultant dna.If you store WebDNA in a database field, say [math]1+1[/math] for example, then doing a search and displaying that field inside [founditems] will indeed show the literal raw text [math]1+1[/math]. If you want to force WebCatalog to interpret that as WebDNA, then wrap [interpret] around the fieldname.>What if it is also a text variable can I display the raw value there?There's not enough English grammar in this sequence of words for me to understand it, but if I turn on my psychic hat, I think you're asking if you can store uninterpreted WebDNA into a text variable. Yes, you can, but you have to be careful to wrap [raw] around the parts you want to remain uninterpreted.[text]myVariable=[raw][math]1+1[/math][/raw][/text][myVariable] will display literally [math]1+1[/math] [interpret][myVariable][/Interpret] will display 2Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

HELP WITH DATES (1997) testing webcat 4 (2001) Subtotal Not Calculated on Invoice.html (1998) Help! WebCat2 bug (1997) send mail problem? (1997) bug in [SendMail] (1997) [WebDNA] Cannot get WebDNA and MySQL working. (2015) How to set triggers (1998) sendmail for email (was Netforms) (1998) WCS Newbie question (1997) Copyright ? (1997) WebCat2: Formulas.db question (1997) Linux vs Jaguar (OSX) (2002) BUG: Switch inside ListFields context (2005) View order not right (1997) off topic fetch vs PCS photomaster (1997) Revisit: speed test (2002) Gremlins, huh? (2000) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) extended ASCII with middle command (1999)