- Регистрация
- 18.06.2011
- Сообщения
- 91
- Благодарностей
- 11
- Баллы
- 0
I really hate rewriting the same code again and again. Almost as much as copying the same code between templates. I would like to create tight little compartments of code that expect an input of data (or not) and supply an output of data (or not). Basically I like writing programs in little subroutines. Makes code reusage and repair super easy.
Can I do this in zennoposter? let me offer you an example.
I've written a nice tight piece of code that goes through a list of email addresses and passwords. It will provide an email address and password for the next template to create an account to a website for me.
Now, I'd like to reuse this code again and again - without copying it. When I start copying exact code between templates, it really makes the templates overly complicated. I'd just like to call another template providing the correct input and collecting the correct response.
Is this possible?
Thanks ahead of time!
Frank
Can I do this in zennoposter? let me offer you an example.
I've written a nice tight piece of code that goes through a list of email addresses and passwords. It will provide an email address and password for the next template to create an account to a website for me.
Now, I'd like to reuse this code again and again - without copying it. When I start copying exact code between templates, it really makes the templates overly complicated. I'd just like to call another template providing the correct input and collecting the correct response.
Is this possible?
Thanks ahead of time!
Frank