![Yoctopuce Yocto-GPS User Manual Download Page 146](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557146.webp)
20. High-level API Reference
YAPI
YAPI.CheckLogicalName()
yCheckLogicalName()
Checks if a given string is valid as logical name for a module or a function.
js
function yCheckLogicalName(
name
)
nodejs
function CheckLogicalName(
name
)
cpp
bool yCheckLogicalName( const string&
name
)
m
+(BOOL) CheckLogicalName :(NSString *)
name
pas
function yCheckLogicalName(
name
: string): boolean
vb
function yCheckLogicalName( ByVal
name
As String) As Boolean
cs
bool CheckLogicalName( string
name
)
java
boolean CheckLogicalName( String
name
)
uwp
bool CheckLogicalName( string
name
)
py
def CheckLogicalName(
name
)
php
function yCheckLogicalName(
$name
)
es
function CheckLogicalName(
name
)
A valid logical name has a maximum of 19 characters, all among
A..Z
,
a..z
,
0..9
,
_
, and
-
. If you
try to configure a logical name with an incorrect string, the invalid characters are ignored.
Parameters :
name
a string containing the name to check.
Returns :
true
if the name is valid,
false
otherwise.
140
www.yoctopuce.com
Summary of Contents for Yocto-GPS
Page 1: ...Yocto GPS User s guide...
Page 2: ......
Page 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Page 10: ...4 www yoctopuce com...
Page 14: ...8 www yoctopuce com...
Page 18: ...12 www yoctopuce com...
Page 22: ...16 www yoctopuce com...
Page 38: ...32 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 54: ...48 www yoctopuce com...
Page 72: ...66 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 122: ...116 www yoctopuce com...
Page 132: ...126 www yoctopuce com...
Page 564: ...22 Characteristics 558 www yoctopuce com...
Page 565: ......
Page 566: ......