Using function in program
|
01-26-2014, 07:36 PM
Post: #4
|
|||
|
|||
RE: Using function in program
I will show 3 versions. All of them will behave identically.
Code: Func3(a,b) Code: Func3(a,b) Code: Func3(a,b) Note that the reason these all behave the same is that there is *always* an implicit return on the last item in the runstream of the program. A function must return a single result. That result might not be used for anything, but it must return at least one thing. TW Although I work for HP, the views and opinions I post here are my own. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Using function in program - Graan - 01-26-2014, 06:56 PM
RE: Using function in program - eried - 01-26-2014, 07:25 PM
RE: Using function in program - Dougggg - 01-26-2014, 07:27 PM
RE: Using function in program - Tim Wessman - 01-26-2014 07:36 PM
RE: Using function in program - Graan - 01-26-2014, 09:27 PM
RE: Using function in program - Han - 01-26-2014, 09:28 PM
|
User(s) browsing this thread: 2 Guest(s)