General area when it fits no where else

Moderator: Mmiscool

User avatar
By Electroguard
#57690 Mmiscool, what are the current size restrictions for things like branch name length, number of branches, variables name length, number of variables, number of web components, and any other limiting factors worth being aware of, please?
User avatar
By Mmiscool
#57709 Variable names, 10 characters
Branch labels, 10 characters
No limit on number of gui items
Maximum 100 variables (not including arrays)
Script length limit, 5000 lines
User avatar
By Luc Volders
#58037 Mike,

Could you please clarify what the maximum length of a string variable can be ???

I am doing all kinds of neat stuff to fancy things up on my screen and am splitting up CSS variables like this:

Code: Select alltest = 950
Timer 100, [start]

wprint "<!DOCTYPE html>"
wprint "<html> <body>"
wprint |<body style="background-color:greenyellow;">|
wprint |<H1><span style="color: red;">|
wprint " A counter"
wprint "</H1>"
wprint "</span>"
wprint |<H2><span style="color: blue;">|
wprint "We are at "
textbox test

a = "background-color:greenyellow;"
a = a & "display:block;width:50px;"
a = a & "border-style: hidden;"
a = a & "font-size: 22px;"
a = a & "font-weight: bold;"
a = a & "color: fuchsia ;"
cssid htmlid(), a
cssid htmlid(), "position:absolute; left:130px; top:67px;"
wprint "</span>"
wprint "</H2>"
Wait

[start]
test = test + 1
wait


Works like a charm but it is unclear to me how many chars can be in the variable a before I run into problems.

Luc