Page 1 of 1
Error file.s
Posted: Mon Sep 07, 2009 11:48 pm
by John
hello, I have a concern, which is: How many lines supports RF script?, because I have 1048 lines and I walk more.
a greetin
Re: Error file.s
Posted: Tue Sep 08, 2009 3:29 pm
by Jay
There is no limit. I have had scripts of 200kb and they still worked. They is, however a small problem:
You cannot have more than a certain number of lines in one order (i think 250 or 500 it was, long time ago since i had that problem)
To solve this problem, you must write sub-orders which doe the work and in the 'main order' you will then call them.
Example:
Code: Select all
SubOrder1[ ()
{
///xxx
} ]
SubOrderWithArguments[(arg1,arg2)
{
//yyyy
}
MainOrder[ ()
{
SubOrder1();
SubOrderWithArguments("bla",25);
SubOrderWithArguments("xyz",26);
} ]
Using sub-orders also keeps writing and error-searching time minimal.
Re: Error file.s
Posted: Wed Sep 09, 2009 8:22 pm
by metal_head
Hah, this is what I do with most of my scripts, I didn't know about that limitation, but it just looks better like this. I have one main order that executes all the other orders.