writeTable() - text mode not working?

Report any Hollywood bugs here

writeTable() - text mode not working?

Postby 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?
peceha
 
Posts: 111
Joined: Tue Dec 13, 2016 9:39 am
Location: Poland

Re: writeTable() - text mode not working?

Postby 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)
User avatar
jPV
 
Posts: 109
Joined: Sat Mar 26, 2016 11:44 am
Location: RNO

Re: writeTable() - text mode not working?

Postby peceha » Sun Sep 17, 2017 9:30 am

:oops:
Thanks !!! - now the resulting file looks much different.
peceha
 
Posts: 111
Joined: Tue Dec 13, 2016 9:39 am
Location: Poland


Return to Hollywood bugs

Who is online

Users browsing this forum: No registered users and 2 guests