The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating new parameters question
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#1
Creating new parameters question

So I was learning about creating new functions in the wiki article. Now I was reading about it and I just made a function line like this.
int FUNCTION(sig 1, sig 2, and so on)
{
}

Like so right? But, how do I know that the new parameter will do exactly what I said, I mean what happens if something's wrong? Is it tested that it'll do exactly what I describe?

NOTE: I haven't test it, in fact I just found them today.

"Veni, vidi, vici."
"I came, I saw, I conquered."
07-30-2013, 11:11 AM
Find


Messages In This Thread
Creating new parameters question - by PutraenusAlivius - 07-30-2013, 11:11 AM



Users browsing this thread: 1 Guest(s)