-->
Page 1 of 2

Limiting Factors?

PostPosted: Sat Nov 05, 2016 4:46 am
by Electroguard
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?

Re: Limiting Factors?

PostPosted: Sat Nov 05, 2016 2:12 pm
by Mmiscool
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

Re: Limiting Factors?

PostPosted: Sat Nov 05, 2016 5:18 pm
by Electroguard
Thanks - so does the 100 max for variables also include the number of branch names, ie: if using 50 vars there can be up to 50 branches?

Re: Limiting Factors?

PostPosted: Sat Nov 12, 2016 12:49 pm
by Luc Volders
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