home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 December
/
Chip_2003-12_cd2.bin
/
oo
/
download
/
f_0019
/
sbasic.jar
/
text
/
sbasic
/
common
/
03102700.xml
< prev
next >
Wrap
Extensible Markup Language
|
2003-01-16
|
2KB
|
32 lines
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Funkce IsNumeric [Runtime]</title><meta name="filename" content="text/sbasic/common/03102700"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
p.P2{
}
span.T1{
font-weight:bold;}
</style></head><body>
<help:to-be-embedded Eid="isnumeric" xmlns:help="http://openoffice.org/2000/help">
<p class="Head1"><help:link Id="66406">Funkce IsNumeric [Runtime]</help:link></p>
<p class="Paragraph">Testuje, zda je zadaný výraz číslo. Pokud je výraz <help:popup Id="66636" Eid="dezimal">číslo</help:popup>, vrátí funkce hodnotu True (PRAVDA); jinak vrátí hodnotu False (NEPRAVDA).</p>
</help:to-be-embedded>
<p class="Paragraph"><span class="T1">Syntaxe</span>:</p>
<p class="Paragraph">IsNumeric (Proměnná) <help:key-word value="IsNumeric" tag="kw66406_1" xmlns:help="http://openoffice.org/2000/help"/></p>
<p class="Paragraph"><span class="T1">Vrácená hodnota</span>:</p>
<p class="Paragraph">Logická</p>
<p class="Paragraph"><span class="T1">Parametr</span>:</p>
<p class="Paragraph">Proměnná: Libovolný výraz, který se má testovat.</p>
<p class="P2">Příklad:</p>
<p class="PropText">Sub ExampleIsNumeric</p>
<p class="PropText">Dim vVar as variant</p>
<p class="PropText">vVar = "ABC"</p>
<p class="PropText">Print IsNumeric(sVar) REM Returns False</p>
<p class="PropText">vVar = "123"</p>
<p class="PropText">Print IsNumeric(sVar) REM Returns True</p>
<p class="PropText">end sub</p>
</body></html>