Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Labview Code Interface Reference Manual.pdf
Скачиваний:
33
Добавлен:
29.05.2015
Размер:
1.13 Mб
Скачать

Chapter 8 Support Manager Functions

StrNCpy

syntax

CStr

StrNCpy(dst, src, n);

StrNCpy copies the C string src to the C string dst. If the source string is less than n characters, the function pads the destination with null characters. If the source string is greater than n, then only n characters are copied. This function assumes that the destination string is large enough to contain the source string.

Parameter

Type

Description

dst

CStr

Pointer to a C string.

src

CStr

Pointer to a C string.

n

int32

Maximum number of characters to copy.

returns A copy of the destination C string pointer.

ToLower

syntax uChar ToLower(c);

ToLower returns the lowercase value of c if c is an uppercase alphabetic character. Otherwise, it returns c unmodified. On the SPARCstation, this function also works for international characters (Ä -> ä, and so on).

 

Parameter

Type

Description

 

c

uChar

Character that you want to analyze.

returns

The lowercase value of c.

 

 

 

 

 

ToUpper

syntax uChar ToUpper(c);

ToUpper returns the uppercase value of c if c is a lowercase alphabetic character. Otherwise, it returns c unmodified. On the SPARCstation, this function also works for international characters (ä -> Ä, and so on).

Parameter

Type

Description

c

uChar

Character that you want to analyze.

LabVIEW Code Interface Reference Manual

8-24

© National Instruments Corporation

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]