From: Jeff Allen <jra@corp.webtv.net>
Neal S. Pressman wrote:
> ok hows this for strange this was my Defaults that didnt work:
> graph --default--
> draw-as = LINE1
> long-desc = "Put a description here"
> vrule-color = red
>
> this does work:
>
> graph --default--
> draw-as = LINE1
> vrule-color = red
> long-desc = "Put a description here"
The problem is your "long-desc" tag, which is terminating the graph
dictionary before you get the vrule-color into it. The continuation
"character" for a cricket dict is that a new line starts with
whitespace. And I think Python is silly language for the same exact
reason (making whitespace significant). What a hypocrite I am!
By moving vrule-color before the long-desc tag, you get it into the
dictionary, instead of getting put into the useless (and corrupt)
"long-desc" dictionary that you accidentally created by putting
long-desc at the beginning of the line.
Cricket syntax is definately too flexible in some cases... it will let
you shoot yourself and your entire family in the foot. Plus some
innocent bystanders and your dog too.
-- Jeff R. Allen | jra@corp.webtv.net WebTV Service Engineering | http://www.munitions.com/~jra--------------------------- ONElist Sponsor ----------------------------
Show your ONElist SPIRIT! http://www.onelist.com/store/tshirts.html With a new ONElist SHIRT available through our website.
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:59 PST