[Coco] A Basic09 Query

James Jones jejones3141 at gmail.com
Tue Aug 27 10:27:10 EDT 2019


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)))
>>
>


More information about the Coco mailing list