Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Difference between "true" and "on"? [Dec. 15th, 2001|02:00 am]
LiveJournal Client Discussions


[music |Moxy Fruvous - Jockey Full of Bourbon]

In the log properties list it says that for nocomments and preformatted you just "turn them on." I'm doing this by sending prop_opt_nocomments=1&prop_opt_preformatted=1 This works, yes?

Next, for backdating it says to set prop_opt_backdated to "true" would prop_opt_backdated=1 achieve this? Given that it is processed by Perl, I suspect it would. But I just wanna make sure.


[User Picture]From: stesla
2001-12-15 02:25 am (UTC)

go test account

The joys of the test account. I just tried it, and it worked. So all is good.
(Reply) (Thread)
[User Picture]From: xb95
2001-12-15 10:35 am (UTC)

Re: go test account

Yes, was about to say, 1 = true = on, 0 = false = of. :)
(Reply) (Parent) (Thread)
[User Picture]From: stesla
2001-12-15 11:33 am (UTC)

Re: go test account

This is primary reason I got a goathack account. I want to piddle around with things and make the documentation clearer.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2001-12-16 04:18 pm (UTC)

Boolean properties will always be 1 for on (or true) and 0 for off (or false), so if it shows up as being of type 'bool' in the logprop list, you can be guaranteed that its values are set like that. The protocol handler will reject anything else.

(Reply) (Thread)
[User Picture]From: stesla
2001-12-16 07:23 pm (UTC)
Yeah, I knew that. I was just being dense at the time I posted that :P

Pleasantly enough, I was able to get backdating working almost immediately (had some trouble with my getopt_long processing).
(Reply) (Parent) (Thread)