theguysaccount 1 Posted April 18, 2019 Report Share Posted April 18, 2019 I have 2 functions inside 2 bits of code that I want to be the same. For example I want my next list item of BOX, now rather than having to go back and edit both I want to link the contents of each. I propose a small box that initiates link, then you go find the other bit of code, link the two, and from now on all content on the inside is cloned between the two Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 18, 2019 Report Share Posted April 18, 2019 Can you explain a bit more or give another example? Not sure I follow but maybe there's already a way to do it. Quote Link to post Share on other sites
theguysaccount 1 Posted November 6, 2019 Author Report Share Posted November 6, 2019 Can you explain a bit more or give another example? Not sure I follow but maybe there's already a way to do it.oh wait! I could put a variable into each one, and make the code I want inside of the thing as the variable. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 6, 2019 Report Share Posted November 6, 2019 oh wait! I could put a variable into each one, and make the code I want inside of the thing as the variable. Yes updating a global variable will change it everywhere (it is used later). If you change the variable and then read it later in multiple places it will be the same (until it is changed again). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.