Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CPStrReplace (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr CPStrReplace(s1h, s2, index);

Purpose

Replaces a Pascal string in a concatenated list of Pascal strings with a new Pascal string.

Parameters

Name Type Description
s1h CPStrHandle Handle to a concatenated list of Pascal strings.
s2 PStr Pointer to a Pascal string.
index int32 Number of the string you want to replace, with 0 as the first string.

Return Value

MgErr, which can contain the following errors. If you receive errors from CIN functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mFullErr2

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit