PDA

View Full Version : By Reference



peter
18-04-2013, 12:14
Hi Eros,

Is it correct to write: "(Byref iFile As String)" for "(char *iFile)" ?
Or could I write: "(Byref iFile As Any)"?

ReneMiner
18-04-2013, 12:47
may I ask back?

Is iFile some String-Array or just some len-fixed string?

peter
18-04-2013, 13:10
iFile is the appellation of the file.
Example: Load ("myGame.dat")

peter
18-04-2013, 15:53
Thank you.

I have found it out.

Petr Schreiber
19-04-2013, 10:12
I usually translate this case as ByRef <name> As Asciiz


Petr