writeTable() - text mode not working?

Report any Hollywood bugs here
Post Reply
peceha
Posts: 111
Joined: Tue Dec 13, 2016 8:39 am
Location: Poland

writeTable() - text mode not working?

Post by peceha »

Hi,

Code: Select all

myTable={
	portNo	=5912,
	serverIP	= "192.168.1.4"
}
WriteTable(1,myTable,txtmode=True,nobrk=False)
gives me such file:
HWT0 serverip 192.168.1.4 portno@·
and:

Code: Select all

WriteTable(1,myTable)
gives exactly the same result.

Am I doing anything wrong?
User avatar
jPV
Posts: 603
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: writeTable() - text mode not working?

Post by jPV »

Because those extra options aren't in a table with WriteTable (like with some other functions), you just need to pass values for them.

This is how it should work:
WriteTable(1,myTable,True,False)
peceha
Posts: 111
Joined: Tue Dec 13, 2016 8:39 am
Location: Poland

Re: writeTable() - text mode not working?

Post by peceha »

:oops:
Thanks !!! - now the resulting file looks much different.
Post Reply