[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal Time
From: |
Gary Polhill |
Subject: |
Re: Internal Time |
Date: |
Fri, 11 Jun 1999 14:39:37 +0100 |
Julie Dugdale wrote:
>
> Gary,
>
> >I think you're missing a bracket or two.
> Oops, sorry I typed the code directly into email rather than cut and paste
> from the code.
I should have guessed -- the compiler would probably have complained about
missing brackets first.
The error message (pointer from integer without a cast) makes me wonder if
it is not the getCurrentTime method that is the problem, but the getRole
method. For the expression [[self getRole] getCurrentTime] to work, the
getRole method should return an object that has a getCurrentTime method.
I reckon getRole returns an integer, rather than such an object. Maybe
what you want is [self getCurrentTime] (if self is an object with a
getCurrentTime method)?
Gary
--
Macaulay Land Use Research Institute, Craigiebuckler, Aberdeen. AB15 8QH
Tel: +44 (0) 1224 318611 Email: address@hidden
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.