Re: LOOP problem
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69062
interpreted = N
texte = Just multiply with 10:[MATH show=3DT]PWR01st=3D-10.00[/MATH][MATH show=3DT]PWR01end=3D-6.50[/MATH][MATH show=3DT]PWR01pr=3D0.50[/MATH][MATH show=3DT]PWR01st=3D[PWR01st] * 10[/MATH][MATH show=3DT]PWR01end=3D[PWR01end] * 10[/MATH][MATH show=3DT]PWR01pr=3D[PWR01pr] * 10[/MATH][Loop start=3D[PWR01st]&end=3D[PWR01end]&advance=3D[PWR01pr]][Format .2f][MATH show=3DT][index] / 10[/MATH][/Format]
[/Loop]Or shorter:[MATH show=3DT]PWR01st=3D-10.00 * 10[/MATH][MATH show=3DT]PWR01end=3D-6.50 * 10[/MATH][MATH show=3DT]PWR01pr=3D0.50 * 10[/MATH][Loop start=3D[PWR01st]&end=3D[PWR01end]&advance=3D[PWR01pr]][Format .2f][MATH show=3DT][index] / 10[/MATH][/Format]
[/Loop]Best,Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se12 jun 2007 kl. 09.57 skrev Stuart Tremain:> I need to do a loop that is not possible in WebDNA due to the =20> numbers having to be whole numbers.>> Any hints on producing WebDNA for this ??>>> [TEXT show=3DT]PWR01start=3D-10.00[/TEXT]> [TEXT show=3DT]PWR01end=3D-6.50[/TEXT]> [TEXT show=3DT]PWR01progression=3D0.50[/TEXT]>> Answer must be:> -10.00> -9.50> -9.00> -8.50> -8.00> -7.50> -7.00> -6.50>> This doesn't work :(>> [Loop start=3D[PWR01start]&end=3D[PWR01end]&advance=3D[PWR01progression]=]> [Index]
> [/Loop]>>>> Regards>> Stuart Tremain> idfk web developments> 114a/40 yeo street neutral bay 2089 australia>>>>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Just multiply with 10:[MATH show=3DT]PWR01st=3D-10.00[/MATH][MATH show=3DT]PWR01end=3D-6.50[/MATH][MATH show=3DT]PWR01pr=3D0.50[/MATH][MATH show=3DT]PWR01st=3D[PWR01st] * 10[/MATH][MATH show=3DT]PWR01end=3D[PWR01end] * 10[/MATH][MATH show=3DT]PWR01pr=3D[PWR01pr] * 10[/MATH][Loop start=3D[PWR01st]&end=3D[PWR01end]&advance=3D[PWR01pr]][Format .2f][MATH show=3DT][index] / 10[/MATH][/Format]
[/Loop]Or shorter:[MATH show=3DT]PWR01st=3D-10.00 * 10[/MATH][MATH show=3DT]PWR01end=3D-6.50 * 10[/MATH][MATH show=3DT]PWR01pr=3D0.50 * 10[/MATH][Loop start=3D[PWR01st]&end=3D[PWR01end]&advance=3D[PWR01pr]][Format .2f][MATH show=3DT][index] / 10[/MATH][/Format]
[/Loop]Best,Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se12 jun 2007 kl. 09.57 skrev Stuart Tremain:> I need to do a loop that is not possible in WebDNA due to the =20> numbers having to be whole numbers.>> Any hints on producing WebDNA for this ??>>> [TEXT show=3DT]PWR01start=3D-10.00[/TEXT]> [TEXT show=3DT]PWR01end=3D-6.50[/TEXT]> [TEXT show=3DT]PWR01progression=3D0.50[/TEXT]>> Answer must be:> -10.00> -9.50> -9.00> -8.50> -8.00> -7.50> -7.00> -6.50>> This doesn't work :(>> [Loop start=3D[PWR01start]&end=3D[PWR01end]&advance=3D[PWR01progression]=]> [Index]
> [/Loop]>>>> Regards>> Stuart Tremain> idfk web developments> 114a/40 yeo street neutral bay 2089 australia>>>>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Christer Olsson
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:
Carrying over data? (1997)
Bug Report, maybe (1997)
Bug with sendmail under RedHat (2006)
Personal Web Server (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Dummy Credit Card Number for debug? (1997)
RE: creating writefile data from a nested search (1997)
.hdr in older Vers. (2003)
Billing when shipped (2006)
security (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
Share cost of training videos! (1998)
Change in Host? (1999)
How can I Add several Items into the cart at once? (1997)
japanese characters (1997)
Loop into field (1998)
Multiple prices (1997)
Needed, Freelance Web Developer (2007)
search/showif issues (2000)
[isfile] ? (1997)