12 Replies
its greyed out too
show the whole method
full code:
i see half of an unconditional return
yeah
return
leaves the method, nothing you write after it will ever runso i just delete it
idk, do you want it to return there or not?
idk either i just want the code to work
you'll have to decide how you want your program to function
either you want it to return there and you should delete the code below it, or you don't want it to return and you should delete the return
worked
i mean, it got rid of the warning
you changed the structure of the code so as long as that's how you want it to work it's fine
i would fix the indentation so it's less confusing to read
return
will end the function instantly from that line on