Re: Assign Variable Value
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16003
interpreted = N
texte = >Isn't there a way to assign a value to a text variable without leaving >the web page. The [math show=F]total=2[/math] function allows for a >value to assigned to total for later use in the page. Is there a way >to do the same thing with a text variable. >>variable=sometextSorry, the closest you can get right now is by using [include] with parameters, as in [include file=subroutine.inc&variable=sometext]. Down inside the file subroutine.inc, you can access [variable].So if you rewrite your HTML so that the 'guts' of it are contained in an include file, then you can get the effect of named text variables.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Isn't there a way to assign a value to a text variable without leaving >the web page. The [math show=F]total=2[/math] function allows for a >value to assigned to total for later use in the page. Is there a way >to do the same thing with a text variable. >>variable=sometextSorry, the closest you can get right now is by using
[include] with parameters, as in [include file=subroutine.inc&variable=sometext]. Down inside the file subroutine.inc, you can access [variable].So if you rewrite your HTML so that the 'guts' of it are contained in an include file, then you can get the effect of named text variables.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Grant Hulbert
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:
Problem with updating 2.1b7 -> 2.1.1 (1998)
WebSTAR/WebCat is serving .db files! (1999)
[WebDNA] [BULK] Securing WebCatalog login (2017)
Budget system (2003)
Ampersands in database fields? (1998)
Cancel Subscription (1996)
[WebDNA] lighttpd and gzip compression with webdna? (2015)
Date problems (1997)
headers (2000)
[countWords]? (1997)
Mac OS X ODBC (2002)
[WebDNA] max number of searches and lookups on a page (2016)
multiple replace sku data (2003)
b12 cannot limit records returned and more. (1997)
Hideif not working? (2001)
Errata: WCS Newbie question (1997)
Grep Question (2003)
access denied problem (1997)
test again sorry (2001)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)