Warning: 50 [MATH] Variable Limit per page

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16433
interpreted = N
texte = Here's a caveat to everyone out there who uses [MATH] variables.When WebCat processes a template, that template can have *at most* 50 differently named [MATH] variables. After 50, it ignores any attempt to store a new variable.The test is simple. Put[MATH]A=1[/MATH]
[MATH]B=2[/MATH]
[MATH]C=3[/MATH]
. . . [MATH]AX=50[/MATH]
[MATH]AY=51[/MATH]
[MATH]AZ=52[/MATH]
etc. until have more than 50 lines. Execute the page and see what happens. AY and AZ will *not* be evaluated.50 may seem like a lot, but if you're going to write some scripts that all go on the same page (as I did for our accounting reports), those variables get eaten up pretty fast.Just to make this clear, putting [MATH]A=1[/MATH] in your template 100 times will work fine. WebCat can only store 50 *unique* variable names. If you have a lot of variables, reuse a variabel name when you're done with it!MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Warning: 50 [MATH] Variable Limit per page (Michael Winston 1998)
Here's a caveat to everyone out there who uses [math] variables.When WebCat processes a template, that template can have *at most* 50 differently named [math] variables. After 50, it ignores any attempt to store a new variable.The test is simple. Put[math]A=1[/MATH]
[math]B=2[/MATH]
[math]C=3[/MATH]
. . . [math]AX=50[/MATH]
[math]AY=51[/MATH]
[math]AZ=52[/MATH]
etc. until have more than 50 lines. Execute the page and see what happens. AY and AZ will *not* be evaluated.50 may seem like a lot, but if you're going to write some scripts that all go on the same page (as I did for our accounting reports), those variables get eaten up pretty fast.Just to make this clear, putting [math]A=1[/MATH] in your template 100 times will work fine. WebCat can only store 50 *unique* variable names. If you have a lot of variables, reuse a variabel name when you're done with it!MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

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:

PCS Frames (1997) Text Areas, Sendmail and returns.... (2002) OT: AppleScript question (2003) Repeating Fields (1997) [date format] w/in sendmail (1997) [WebDNA] Question for WSC ... (2008) Question about links (1999) Multiple Ad databases? (1997) WebCat b15 Mac plug-in (1997) Help SM: Duplicate cart #'s - still! (2003) Help! WebCat2 bug (1997) WCS Newbie question (1997) EmailFolder Correct Permissions ? (2003) Speed/performance issues using .hdr (1997) Multi-processor Mac info ... (1997) authenticating a second user (1997) [WebDNA] online.db deadlock: your current options ... (2011) SiteGuard Use Question (1997) Next X hits (1996) weight based shipping cost questions (1997)