writeTable() - text mode not working?

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

writeTable() - text mode not working?

Post by peceha » Sat Sep 16, 2017 11:31 pm

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: 135
Joined: Sat Mar 26, 2016 11:44 am
Location: RNO
Contact:

Re: writeTable() - text mode not working?

Post by jPV » Sun Sep 17, 2017 9:20 am

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 9:39 am
Location: Poland

Re: writeTable() - text mode not working?

Post by peceha » Sun Sep 17, 2017 9:30 am

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

Post Reply