Procedures on different screens?


#1

have a question about functions in general or procedures. how can I use a procedure created by example screen1 using it in screen2, avoiding having to copy the blocks.

in php I remember that I used include (“funcion.php”); and with this I avoided writing or copying the code again.

can this be done in appybuilder =?


#2

Unfortunately :-1:. Each screen is independent of the other.


#3

thanks for the quick reply


#4

you might want to follow tip 1


Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#5

thanks @Taifun, I understand the idea, but for the progress I have in my app at this time is almost impossible to implement by the number of blocks that each screen has, as it says there: before creating an app is essential to think on the screens, I did not do it.


#6

did you follow the DRY principle?

see also http://twodogapps.com/?page_id=686#Redundancy and http://twodogapps.com/?page_id=686#Procedures

Taifun