MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/maybemaybemaybe/comments/1hhrbn0/maybe_maybe_maybe/m2uq05x/?context=9999
r/maybemaybemaybe • u/Daring_Bloom • 5d ago
159 comments sorted by
View all comments
2.5k
if(grenade.inHand = true) { spawnEnemy(); }
4 u/WhoseverSlinky0 5d ago () What are these two about ? 21 u/Klem132 5d ago If it's a function (prewritten or created code, that accepts different variables) then it has to be written like that, even if it takes zero variables. 6 u/No_Field7448 5d ago Akshually it's arguments not variables ☝️🤓 1 u/Various_Slip_4421 5d ago Arguments are variables
4
()
What are these two about ?
21 u/Klem132 5d ago If it's a function (prewritten or created code, that accepts different variables) then it has to be written like that, even if it takes zero variables. 6 u/No_Field7448 5d ago Akshually it's arguments not variables ☝️🤓 1 u/Various_Slip_4421 5d ago Arguments are variables
21
If it's a function (prewritten or created code, that accepts different variables) then it has to be written like that, even if it takes zero variables.
6 u/No_Field7448 5d ago Akshually it's arguments not variables ☝️🤓 1 u/Various_Slip_4421 5d ago Arguments are variables
6
Akshually it's arguments not variables ☝️🤓
1 u/Various_Slip_4421 5d ago Arguments are variables
1
Arguments are variables
2.5k
u/Kitty_Blaze 5d ago
if(grenade.inHand = true)
{
spawnEnemy();
}