A guy figuring out what kind of content to make. I guess I make Roblox content more geared towards the developer and nostalgia side with occasional gameplay videos. I started my channel in 2013 and then I disappeared for almost 6 years from 2017 to 2023. Why did I come back to make content? I just forgot how much fun making videos were and I want to build a personality through my content and the audience that watches me. That's about it for me, I might update this description in the future depending on where things go. ~4/25/23 4/24/2023 new banner i guess..? 4/18/2018 New Profile Picture by Me. 5/17/2017 New Banner Made by Me.
Is it basically being able to do whatever you want with the result besides what is was intended to do in the function? like in the function the result was only meant to be printed, but if you return the result then now you can do anything with the number. like make an if statement with the number. Can someone tell me if this is right?
Hi, Soy español, y espero que no te molestes en traducirlo. Solía ver tus vídeos hace 7 años, era un infante específicamente, actualmente me he reencontrado con tu cuenta, y ahora que observo tu progreso sigues haciendo videos de esta plataforma. Recuerdo la variedad de eventos que tú realizabas y eran una completa ayuda para conseguir. Espero que te encuentres estable en tu vida personal, cuidate!
When you are talking about not using while true loops you claim that they are bad for practical use due to how long they run. However, can't a break be utilized to solve this issue?
with parameters or arguments within the brackets of a function, does the words actually do anything or does it jsut highlight the key words of a function.
I explain to myself to help me understand. I hope my explanation will help someone as well on the way. Again, writing a function only defines the action to be performed. You're telling it what to do, without telling it when to do it. You're just defining what you want it to do. Calling the function is when you tell it to execute. function quotientFinder(dividend,divisor) local quotient = divident/divisor end quotientFinder(5/2) Okay, then so what? Even if you call a function that multiplies a bunch of numbers together, nothing really happens since that number just flies into the void. You're not doing anything with it, are you? You're just setting a variable! You need to catch it, or store it, or print it, or do something with it. But you can't really print a call of a function. Which is why we use the return function.
ok, so i kinda got a glimps of what people meant in the comments and decided to test it to make sure that i understood what they meant. i remade the addition function and instead of using numbers i used the "mainResult" variable i got 16. i added two of them together. the return function in this case is adding meaning to the variable "mainResult". (that can be used outside that function) so now "mainResult" isnt just calling on the function to work out the problem its asking for a result, in which you can use. so without the return "mainResult" = gets its answer but the information cannot be used its just a problem thrown at the function with "return" the function recieves the problem solves it and "returns" the result to the variable. so now "mainResult" = 8 im pretty sure that is how it works if i am mission something let me know --my little test :) i used different variables and function names so i have to translate and focus more function multi(numb1, numb2, numb3) local result = numb1 * numb2 * numb3 return result end mainresult = multi( 2, 2, 2) print(mainresult) function add(num1, numb2) local result = num1 + numb2 return result end mresult = add(mainresult, mainresult) print(mresult)