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* 50differently named [MATH] variables. After 50, it ignores any attempt tostore 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 allgo on the same page (as I did for our accounting reports), those variablesget eaten up pretty fast.Just to make this clear, putting [MATH]A=1[/MATH] in your template 100times 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 withit!MichaelMichael Winston *By Phone!: (503)/652/8815 x341Internet Coordinator *By e-mail!: michaelw@dhorse.comDark Horse Comics, Inc. *By web!: http://www.dhorse.com/
Associated Messages, from the most recent to the oldest:
|
- 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* 50differently named
[math] variables. After 50, it ignores any attempt tostore 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 allgo on the same page (as I did for our accounting reports), those variablesget eaten up pretty fast.Just to make this clear, putting
[math]A=1[/MATH] in your template 100times 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 withit!MichaelMichael Winston *By Phone!: (503)/652/8815 x341Internet Coordinator *By e-mail!: michaelw@dhorse.comDark 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)