Re: TIB: Lists on the 89


[Prev][Next][Index][Thread]

Re: TIB: Lists on the 89




Use [ ] instead of ( ).  On an 85, the ( ) take an element of a list.  On the 
89, the ( ) signifies a function or program.  Use [ ] to take an element.

In a message dated 2/28/00 9:03:16 PM Eastern Standard Time, nix249@mich.com 
writes:

> I have an 85, and one of my classmates with an 89 wanted a program I had to 
> find out how many days any particular day is into the year.
>  
>  Part of the program adds the number of days per month to the total, and 
> generated an error:
>  
>  d(c)+b -> b
>  
>  It came up with something like "Name isn't a function or program".  "d" is 
> the list.  On my 85, the (c) part would access the "c"th  variable in list 
d. 
>  I'm guessing it took this to be a function or program, not a list.  How 
> would I access single elements of the list?
>  
>  B Clark
>  


Follow-Ups: