beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 372

background image

W

RITE

F

ILE

L

INE

(

FILE

,

TEXT

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

356

W

RITE

F

ILE

L

INE

(

FILE

,

TEXT

)

A

RGUMENT

T

YPE

D

ESCRIPTION

file

int

File handle as required by OpenFile.

text

cstring

Text to be written to file.

D

ESCRIPTION

Writes a string to the specified file and returns the number of bytes successfully written,
including the carriage return and linefeed characters that will be appended to each line.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

int.

E

XAMPLE

count := WriteFileLine(hFile, “Writing text to file.”)