Val()
Zeichenkette mit Dezimalzahl in Binärwert konvertieren. Das Ergebnis ist 32 Bit vorzeichenbehaftet (longint/int32). Ignoriert führende Leerzeichen.
Syntax: int32 = Val(text as string)
Beispiel:
dim a as integer dim b as longint a = Val("12345") b = Val("12345")