Feature request

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21632
interpreted = N
texte = I have seen requests for an syntax along the lines of [if] blah [else] blah [/if]which would be nice, but what I'd REALLY like to see is a SWITCH/CASE statement, something like this: [SWITCH {expression}] [CASE {value1}] blah [/CASE] [CASE {value2}] blah [/CASE] [CASE {value3}] blah [/CASE] ... [DEFAULT] blah [/DEFAULT] [/SWITCH]So, each [CASE] would be the equivalent of [SHOWIF {expression}={valueX}]and the [DEFAULT] context would be shown if {expression} doesn't equal any of the {values} specified in the [CASE] contexts.The current workarounds for the lack of a SWITCH make for complicated and ugly code that is difficult to debug and update.Brian<=- Brian C. Fries, BrainScan Software -=> <=- Macintosh, Internet and Multimedia -=> <=- Development and Consulting -=> <=- brainscn@psyber.com -=> <=- http://www.psyber.com/~brainscn -=> <=- http://www.extremeaudio.com -=> <=- http://www.carboload.com (coming soon) -=> Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Feature Request (Brian Harrington 2019)
  2. [WebDNA] Feature Request (Stuart Tremain 2019)
  3. Re: [WebDNA] Feature request: deletefield (christophe.billiottet@webdna.us 2017)
  4. [WebDNA] Feature request: deletefield (Brian Burton 2017)
  5. Re: [WebDNA] Feature Request: [returnhtml] (dbrooke@euca.us 2016)
  6. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  7. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  8. Re: [WebDNA] Feature Request: [returnhtml] (William DeVaul 2016)
  9. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  10. Re: [WebDNA] Feature Request: [returnhtml] ("Matthew A Perosi, Psi Prime" 2016)
  11. Re: [WebDNA] Feature Request: [returnhtml] (Brian Burton 2016)
  12. Re: [WebDNA] Feature Request: [returnhtml] (christophe.billiottet@webdna.us 2016)
  13. Re: [WebDNA] Feature Request: [returnhtml] (Kenneth Grome 2016)
  14. [WebDNA] Feature Request: [returnhtml] (Brian Burton 2016)
  15. Re: [WebDNA] Feature Request ("Terry Wilson" 2013)
  16. Re: [WebDNA] Feature Request (Stuart Tremain 2013)
  17. Re: [WebDNA] Feature Request (Stuart Tremain 2013)
  18. Re: [WebDNA] Feature Request (Dan Strong 2013)
  19. Re: [WebDNA] Feature Request ("Terry Wilson" 2013)
  20. Re: [WebDNA] Feature Request (christophe.billiottet@webdna.us 2013)
  21. Re: [WebDNA] Feature Request (Steve Craig 2013)
  22. [WebDNA] Feature Request (WebDNA 2013)
  23. Re: [WebDNA] feature request - .hdr files (Kenneth Grome 2011)
  24. Re: [WebDNA] feature request - .hdr files ("Brian B. Burton" 2011)
  25. Re: [WebDNA] feature request (William DeVaul 2011)
  26. Re: [WebDNA] feature request (christophe.billiottet@webdna.us 2011)
  27. [WebDNA] feature request (Govinda 2011)
  28. Re: [WebDNA] Feature requests - date format (Dan Strong 2009)
  29. Re: [WebDNA] Feature requests - date format ("Terry Wilson" 2009)
  30. Re: [WebDNA] Feature requests - date format ("Terry Wilson" 2009)
  31. Re: [WebDNA] Feature requests - date format (Dan Strong 2009)
  32. Re: [WebDNA] Feature requests - date format (Matthew Bohne 2009)
  33. Re: [WebDNA] Feature requests - date format (Dan Strong 2009)
  34. Re: [WebDNA] Feature requests - date format ("Terry Wilson" 2009)
  35. Re: [WebDNA] Feature requests - date format (christophe.billiottet@webdna.us 2009)
  36. Re: [WebDNA] Feature requests - date format (Terry Wilson 2009)
  37. Re: [WebDNA] Feature requests - date format (William DeVaul 2009)
  38. Re: [WebDNA] Feature requests - date format (Donovan Brooke 2009)
  39. [WebDNA] Feature requests - date format (Terry Wilson 2009)
  40. Re: [WebDNA] feature requests (Alex McCombie 2008)
  41. Re: [WebDNA] feature requests ("Brian B. Burton" 2008)
  42. Re: [WebDNA] feature requests (Stuart Tremain 2008)
  43. Re: [WebDNA] feature requests ("Brian B. Burton" 2008)
  44. [WebDNA] Feature Request [TABLE ... &delimiters=] (Stuart Tremain 2008)
  45. Re: [WebDNA] feature requests (Stuart Tremain 2008)
  46. Re: [WebDNA] feature requests (Donovan Brooke 2008)
  47. Re: [WebDNA] feature requests (Frank Nordberg 2008)
  48. Re: [WebDNA] feature requests (Donovan Brooke 2008)
  49. Re: [WebDNA] feature requests (Colin Sidwell 2008)
  50. Re: [WebDNA] feature requests ("Dan Strong" 2008)
  51. Re: [WebDNA] feature requests (Matthew Bohne 2008)
  52. Re: [WebDNA] feature requests (Terry Wilson 2008)
  53. Re: [WebDNA] feature requests ("Tom Duke" 2008)
  54. [WebDNA] feature requests (Terry Wilson 2008)
  55. Re: Feature Request [TABLE ... &delimiters=] ( Alex McCombie 2007)
  56. Feature Request [TABLE ... &delimiters=] ( Stuart Tremain 2007)
  57. Re: WebDNA Feature Request ( Jesse Proudman 2006)
  58. Re: WebDNA Feature Request ( "Will Starck" 2006)
  59. Re: WebDNA Feature Request ( John Peacock 2006)
  60. Re: WebDNA Feature Request ( Pat McCormick 2006)
  61. Re: WebDNA Feature Request ( Adam O'Connor 2006)
  62. WebDNA Feature Request ( Adam O'Connor 2006)
  63. Re: WebDNA Feature Request ( "Nitai @ ComputerOil" 2006)
  64. Re: WebDNA Feature Request ( Stuart Tremain 2006)
  65. Re: WebDNA Feature Request ( "Bess Ho" 2006)
  66. Re: WebDNA Feature Request ( Stuart Tremain 2006)
  67. Re: WebDNA Feature Request ( "Bess Ho" 2006)
  68. Re: WebDNA Feature Request ( "Nitai @ ComputerOil" 2006)
  69. Re: WebDNA Feature Request ( Alex McCombie 2006)
  70. Re: WebDNA Feature Request ( John Peacock 2006)
  71. Re: WebDNA Feature Request ( "Nitai @ ComputerOil" 2006)
  72. Re: WebDNA Feature Request ( Dale Lists 2006)
  73. Re: WebDNA Feature Request ( Jesse Proudman 2006)
  74. Re: WebDNA Feature Request ( Donovan Brooke 2006)
  75. Re: WebDNA Feature Request ( Donovan Brooke 2006)
  76. Re: WebDNA Feature Request ( "Dan Strong" 2006)
  77. WebDNA Feature Request ( "Brian B. Burton" 2006)
  78. Feature request: [decrypt seed=xxxxx] from [lookup] ( WJ Starck 2005)
  79. Re: Feature Request -COPYRECORD ( Clint Davis 2005)
  80. Re: Feature Request -COPYRECORD ( Brian Fries 2005)
  81. Feature Request -COPYRECORD ( "Brian B. Burton" 2005)
  82. Re: Feature request for next version ( Terry Wilson 2005)
  83. Re: Feature request for next version ( William DeVaul 2005)
  84. Feature request for next version ( Terry Wilson 2005)
  85. Re: Feature Request [SentenceCase] ( "WebDna @ Inkblot Media" 2005)
  86. Re: Feature Request [SentenceCase] ( Stuart Tremain 2005)
  87. Re: Feature Request [SentenceCase] ( Donovan Brooke 2005)
  88. Feature Request [SentenceCase] ( Stuart Tremain 2005)
  89. [Feature Request] or [bug?]: SiteBuilder - searchable ( Donovan Brooke 2005)
  90. Feature Request: Autonumber adendum ( Donovan Brooke 2004)
  91. Re: [FEATURE REQUEST] ( Stuart Tremain 2004)
  92. Re: [FEATURE REQUEST] ( Donovan Brooke 2004)
  93. Re: [FEATURE REQUEST] ( Donovan Brooke 2004)
  94. Re: [FEATURE REQUEST] ( Christer Olsson 2004)
  95. Re: [FEATURE REQUEST] ( Christer Olsson 2004)
  96. Re: [FEATURE REQUEST] ( Donovan Brooke 2004)
  97. Re: [FEATURE REQUEST] ( Brian Fries 2004)
  98. Re: [FEATURE REQUEST] ( John Peacock 2004)
  99. Re: [FEATURE REQUEST] ( Donovan Brooke 2004)
  100. Re: [FEATURE REQUEST] ( Donovan Brooke 2004)
  101. Re: [FEATURE REQUEST] ( John Peacock 2004)
  102. Re: [FEATURE REQUEST] ( "Brian Boegershausen" 2004)
  103. [FEATURE REQUEST] ( Donovan Brooke 2004)
  104. Re: [Lookup] improvment [feature request] ( Donovan Brooke 2004)
  105. Re: [Lookup] improvment [feature request] ( Brian Fries 2004)
  106. [Lookup] improvment [feature request] ( Donovan Brooke 2004)
  107. Feature request ( Kenneth Grome 2004)
  108. Re: feature request-- [epoch] ( John Peacock 2004)
  109. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  110. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  111. Re: feature request-- [epoch] ( "Dan Strong" 2004)
  112. Re: feature request-- [epoch] ( John Peacock 2004)
  113. Re: feature request-- [epoch] ( "Dan Strong" 2004)
  114. Re: feature request-- [epoch] ( "Nitai @ ComputerOil" 2004)
  115. Re: feature request-- [epoch] ( John Peacock 2004)
  116. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  117. Re: feature request-- [epoch] ( "Nitai @ ComputerOil" 2004)
  118. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  119. feature request-- [epoch] ( Donovan Brooke 2004)
  120. Re: oddball sorting problem [feature request] ( Donovan Brooke 2003)
  121. Re: tcpconnect feature request .. ( Alain Russell 2003)
  122. Re: tcpconnect feature request .. ( Scott Anderson 2003)
  123. Re: tcpconnect feature request .. ( Alain Russell 2003)
  124. Re: tcpconnect feature request .. ( Kenneth Grome 2003)
  125. tcpconnect feature request .. ( Alain Russell 2003)
  126. Re: formulas.db [feature request] ( Donovan 2003)
  127. Re: Feature Request: [moverecord] ( Phillip Bonesteele 2003)
  128. Re: Feature Request: [moverecord] ( WJ Starck 2003)
  129. Re: Feature Request: [moverecord] ( Brian Fries 2003)
  130. Re: Feature Request: [moverecord] ( WJ Starck 2003)
  131. Re: Feature Request: [moverecord] ( Donovan 2003)
  132. Feature Request: [moverecord] ( WJ Starck 2003)
  133. Re: Feature Request ( Donovan 2003)
  134. Re: Feature Request ( Donovan 2003)
  135. Re: Feature Request ( Donovan 2003)
  136. Re: Feature Request ( marc@kaiwi.com (Marc Kaiwi) 2003)
  137. Re: Feature Request ( John Peacock 2003)
  138. Feature Request ( Donovan 2003)
  139. Re: [listdatabases] feature request. (Alain Russell 2003)
  140. Re: [listdatabases] feature request. (dbrooke 2003)
  141. Re: [listdatabases] feature request. (Alain Russell 2003)
  142. [listdatabases] feature request. (dbrooke 2003)
  143. Feature Request (dbrooke 2003)
  144. small FEATURE REQUEST (Donovan 2002)
  145. Feature requests (Alain Russell 2002)
  146. Feature requests (Alain Russell 2002)
  147. Re: Feature Request : Separate [search] and [founditems] (John Peacock 2002)
  148. Feature Request : Separate [search] and [founditems] (charles kline 2002)
  149. Re: FEATURE REQUEST: Auto Resizing of images (marc malacarme 2002)
  150. Re: FEATURE REQUEST: Auto Resizing of images (Andrew Simpson 2002)
  151. Re: FEATURE REQUEST: Auto Resizing of images (Glenn Busbin 2002)
  152. Re: FEATURE REQUEST: Auto Resizing of images (Alain Russell 2002)
  153. Re: FEATURE REQUEST: Auto Resizing of images (Jesse Williams-Proudman 2002)
  154. Re: FEATURE REQUEST: Auto Resizing of images (Inkblot Media 2002)
  155. Re: FEATURE REQUEST: Auto Resizing of images (Alain Russell 2002)
  156. Re: FEATURE REQUEST: Auto Resizing of images (Jeff Logan 2002)
  157. Re: FEATURE REQUEST: Auto Resizing of images (Dan Strong 2002)
  158. FEATURE REQUEST: Auto Resizing of images (Jeff Logan 2002)
  159. GetChars and feature request (Jason Tyler 2002)
  160. 5.0 feature request: Multiple Server Support (Paul Uttermohlen 2001)
  161. feature request 4.5 or 5 (Alain Russell 2001)
  162. Re: 5.0 feature request: Sort for ListWords (Michael Davis 2001)
  163. Re: 5.0 feature request: (Dale Therio 2001)
  164. Re: 5.0 feature request: (Glenn Busbin 2001)
  165. Re: 5.0 feature request: (Clement Ross 2001)
  166. Re: 5.0 feature request: (Aaron Lynch 2001)
  167. Re: 5.0 feature request: (Aaron Lynch 2001)
  168. Re: 5.0 feature request: Sort for ListWords (Aaron Lynch 2001)
  169. Re: 5.0 feature request: Sort for ListWords (John Jakovich 2001)
  170. Re: 5.0 feature request: Sort for ListWords (Nitai @ ComputerOil 2001)
  171. Re: 5.0 feature request: Sort for ListWords (Charles Kline 2001)
  172. 5.0 feature request: Sort for ListWords (Brian Fries 2001)
  173. 5.0 feature request: New Search Syntax (Charles Kline 2001)
  174. 5.0 feature request: Macro (Brian Fries 2001)
  175. Feature Request/Rant - Last-modified and Expires MIME (John Peacock 2000)
  176. Re: New [If] command question + New Feature Request (John Peacock 2000)
  177. Re: New [If] command question + New Feature Request (WebDNA Support 2000)
  178. Re: New [If] command question + New Feature Request (John Peacock 2000)
  179. sorting [listwords] feature request (Peter Ostry 2000)
  180. Re: feature request.... [stop] (Nicolas Verhaeghe 2000)
  181. Re: feature request.... [stop] (jpeacock@univpress.com 2000)
  182. feature request.... [stop] (Joseph D'Andrea 2000)
  183. Re: [Feature Request] Stronghold security variables that cannot (Nicolas Verhaeghe 2000)
  184. Re: [Feature Request] Stronghold security variables that cannot beforce as formvariables (John Butler 2000)
  185. [Feature Request] SQL error filter (Nicolas Verhaeghe 2000)
  186. [Feature Request] Stronghold security variables that cannot be (Nicolas Verhaeghe 2000)
  187. Re: Feature Request: ! character bug correct in [showif (Nicolas Verhaeghe 2000)
  188. Re: Feature Request: ! character bug correct in [showif[variable]=] (Charles Kline 2000)
  189. Re: Feature Request: ! character bug correct in [showif[variable]=] (WebDNA Support 2000)
  190. Feature Request: ! character bug correct in [showif [variable]=] (Nicolas Verhaeghe 2000)
  191. Tiny feature request (Michael Winston 2000)
  192. Re: Feature Request (Marty Schmid 1999)
  193. Re: Feature Request (Howard Wolosky 1999)
  194. Feature Request (Marty Schmid 1999)
  195. Re: FEATURE REQUEST: (was: Summarizing results. Is there a (Nicolas Verhaeghe 1999)
  196. Re: FEATURE REQUEST: (was: Summarizing results. Is there ashortcut? (PCS Technical Support 1999)
  197. FEATURE REQUEST: (was: Summarizing results. Is there a shortcut? (Joseph D'Andrea 1999)
  198. Feature request: user-defined cart headers (Rob Marquardt 1999)
  199. RE: Feature request (Can do Switch) (Olin Lagon 1998)
  200. Feature request (Brian Fries 1998)
  201. Re: Feature Request: DB Field manipulation (Grant Hulbert 1998)
  202. Feature Request: DB Field manipulation (Michael Winston 1998)
  203. Feature requests (Michael Winston 1998)
  204. webcat feature request (Olin 1997)
  205. Re: 2nd WebCatalog2 Feature Request (herrera@tcimet.net (College Shopping Network) 1996)
  206. Re[3]: 2nd WebCatalog2 Feature Request (John Peacock 1996)
  207. Re: 2nd WebCatalog2 Feature Request (GL 1996)
  208. Re[2]: 2nd WebCatalog2 Feature Request (Grant Hulbert 1996)
  209. Re[2]: 2nd WebCatalog2 Feature Request (John Peacock 1996)
  210. Re:2nd WebCatalog2 Feature Request (Todd Mathews 1996)
  211. Re:2nd WebCatalog2 Feature Request (matt@papersite.com (Matthew Steele) 1996)
  212. Re: 2nd WebCatalog2 Feature Request (matt@papersite.com (Matthew Steele) 1996)
  213. Re:2nd WebCatalog2 Feature Request (Grant Hulbert 1996)
  214. Re:2nd WebCatalog2 Feature Request (Grant Hulbert 1996)
  215. Re:2nd WebCatalog2 Feature Request (Jim Shaughnessy 1996)
  216. Re:2nd WebCatalog2 Feature Request (Jim Shaughnessy 1996)
  217. RE: 2nd WebCatalog2 Feature Request (Jim Shaughnessy 1996)
  218. Re:2nd WebCatalog2 Feature Request (Grant Hulbert 1996)
  219. Re:2nd WebCatalog2 Feature Request (Todd Mathews 1996)
  220. 2nd WebCatalog2 Feature Request (Grant Hulbert 1996)
I have seen requests for an syntax along the lines of [if] blah [else] blah [/if]which would be nice, but what I'd REALLY like to see is a SWITCH/CASE statement, something like this: [SWITCH {expression}] [CASE {value1}] blah [/CASE] [CASE {value2}] blah [/CASE] [CASE {value3}] blah [/CASE] ... [DEFAULT] blah [/DEFAULT] [/SWITCH]So, each [CASE] would be the equivalent of [SHOWIF {expression}={valueX}]and the [DEFAULT] context would be shown if {expression} doesn't equal any of the {values} specified in the [CASE] contexts.The current workarounds for the lack of a SWITCH make for complicated and ugly code that is difficult to debug and update.Brian<=- Brian C. Fries, BrainScan Software -=> <=- Macintosh, Internet and Multimedia -=> <=- Development and Consulting -=> <=- brainscn@psyber.com -=> <=- http://www.psyber.com/~brainscn -=> <=- http://www.extremeaudio.com -=> <=- http://www.carboload.com (coming soon) -=> Brian Fries

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:

WC 2.0 frames feature (1997) Showing unopened cart (1997) Avery 5160 Mailing Labels (2003) WebCatalog for Postcards ? (1997) grep question - how to strip spaces from the beginning of a (2002) Strange intermittent WebDNA problems Workaround (2008) New Site Announcement (1998) Speed questions (1998) RE: WebCatalog2 for NT Beta Request (1997) webmerch and serials - almost there (1997) Misunderstanding?? (1997) WebCatalog on Solaris? (2000) [WebDNA] Best practice re: password storage (2013) Creating main- and sub-category search (1997) problems with 2 tags (1997) Email (1998) WebCatalog Features (1997) OLD ORDERS (1998) Shopping carts and reloading pages (1997) [/application] error? (1997)