Files
BlitzNext/_release/help/commands/2d_commands/Asc.htm
T
2014-12-08 12:43:20 +13:00

39 lines
834 B
HTML

<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>Asc (string$)</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
string$ = any valid string variable (only the first character's ASCII value will be returned).
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
This will return the ASCII value of the first letter of a string.
</td>
</tr>
</table>
<h1><a href=../2d_examples/Asc.bb>Example</a></h1>
<table>
<tr>
<td>
a$=Input$("Enter a letter:")
<br />
Print "The ASCII value of the letter is:" + Asc(a$)
<br />
</td>
</tr>
</table>
<br>
<a target=_top href=../index.htm>Index</a><br>
<br>
Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=Asc&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
</html>