[Coco] A Basic09 Query

Wayne Campbell asa.rand at gmail.com
Tue Aug 27 10:39:33 EDT 2019


Lol. Sorry James. I should have used y instead of x. Wouldn't have confused
you.

Wayne


On Tue, Aug 27, 2019, 7:27 AM James Jones <jejones3141 at gmail.com> wrote:

> Make that y, darn it.
>
> On Tue, Aug 27, 2019 at 9:24 AM James Jones <jejones3141 at gmail.com> wrote:
>
> > Sorry; I should've inserted a DIM statement for x to make it an array.
> >
> > On Tue, Aug 27, 2019 at 9:09 AM Wayne Campbell <asa.rand at gmail.com>
> wrote:
> >
> >> That is an example I wouldn't have thought of, but I see one error in
> the
> >> syntax. I recognize it because I tested to see if something like x(i*3)
> >> would be seen as x times (i times 3). Basic09 flags it as a syntax
> error.
> >> The correct syntax is x*(i*3). i times 3 will be calculated before x
> times
> >> the product of i times 3.
> >>
> >> Syntax error: SQ(sin(x)*y(15*i+3)/(5+sgn(w)))
> >> Syntax corrected: SQ(sin(x)*y*(15*i+3)/(5+sgn(w)))
> >>
> >
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list