User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Open Office Calc Question

Fri Jan 02, 2009 1:34 pm

Hi chaps, is there any way of getting =|0 into an open office cell without
it going weird? It automatically seems to expect a SUM. If I overwrite SUM with the cell name D123 I still get problems.

<=|0 seems OK as a work around.

Thanks, Chris

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Fri Jan 02, 2009 4:14 pm

If you format he cell as text prior entering "=|0" it will not be interpreted as equation. :)

Cheers
Norbert

User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Fri Jan 02, 2009 4:46 pm

Many thanks Norbert!

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Fri Jan 02, 2009 5:46 pm

Also can enter as [color="Red"]'[/color]=|0
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Fri Jan 02, 2009 6:02 pm

lodilefty wrote:Also can enter as '=|0

This is better! :thumbsup:
Haven't known that.

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Fri Jan 02, 2009 6:13 pm

it works for excel too, when you want to start something with = and excel bothers you: "hey, it is a formula???"
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Fri Jan 02, 2009 7:03 pm

I must say that's interesting because I have had problems copying and pasting from other scenarios where dates have a ' as a prefix.

Weird things seemed to happen to the dates I copied - or at least I thought something weird was happening as I kept seeing the ' before the date and the date format was changing. Something I should ignore in future maybe.

I thought I could work this out for myself but sometimes it's worth posting for advice like this as you can end up learning more than you expect to.
Maybe we should have a Calc and Excel hints and tips thread!

Thanks for the info.
Chris

User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Fri Jan 02, 2009 7:22 pm

Hmm. I just tried both methods and I'm still having problems.
If I try Format/Cells/Text and then type =|0 I still get a SUM.

If I type ' before the = it seems OK but I noticed that when the ' is used in
date formats in other scenarios the ' then disappears until I copy it.
When I use '=|0 I can still see the ' in the cell.
Am I still messing this up?

Thanks, Chris

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Fri Jan 02, 2009 7:47 pm

You're OK I think.

Date format is wierd. Iusually type two single quotes to be sure. End up editing a lot anyway :(

I've never had a problem copy/paste dates, as long as I edit the cell [avoiding the first character] after paste vs. try to type a new date in full... :confused:

Open Office has adopted some of the Bill's World quirks, and anticipating what I want to do is by far the most irritating. :cursing:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Fri Jan 02, 2009 7:52 pm

I would like to know how selecting text works - but also if I type a ' before the = why can I still see the ' when I don't see this in other scenarios?

Cheers, Chris

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Fri Jan 02, 2009 10:48 pm

Um, I'm not sure what you mean? :confused:

I don't recall any instance of a cell that starts with =|0

...usually imbedded in syntax, or am I losing it again???
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Hobbes
Posts: 4438
Joined: Sat Mar 11, 2006 12:18 am
Location: UK

Fri Jan 02, 2009 11:06 pm

Lodi, what I'm thinking of here is in answer to Pocus EvalSubUnitCount

I want to make sure there are not already any captives in a region before putting one there.

So I was thinking EvalSubUnitCount =|0 to fire an event.

Cheers, Chris

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Sat Jan 03, 2009 2:09 am

:bonk:

Yes. I used this command in your favorite event: Poor Sanitation :blink:

Except it is EvalSubUnitCount >=52

I suspect many losing battles with Excel over the years means I just type that single ' without realizing it!!!! :w00t:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 7 guests