Files
BlitzNext/_release/help/commands/2d_commands/End Function.htm
T

51 lines
1.3 KiB
HTML
Raw Normal View History

2014-12-08 12:43:20 +13:00
<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>End Function</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
None.
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
This line terminates a FUNCTION structure. Upon reaching this line, Blitz will branch program execution to the next command following the original call to the function. See the FUNCTION command for more information.
</td>
</tr>
</table>
<h1><a href=../2d_examples/End Function.bb>Example</a></h1>
<table>
<tr>
<td>
; End Function Example
<br />
<br />
; Get the user's name
<br />
name$=Input$("Enter Your Name:")
<br />
<br />
; Call a function to print how many letters the name has
<br />
numletters(name$);
<br />
<br />
;The program basically ends here, because functions don't run unless called.
<br />
2014-02-26 16:08:39 +13:00
2014-12-08 12:43:20 +13:00
<br />
2014-02-26 16:08:39 +13:00
; The actual function
2014-12-08 12:43:20 +13:00
<br />
2014-02-26 16:08:39 +13:00
Function numletters(passedname$)