syntax error

daN baueR dan at onlinemgt.com
Wed Apr 6 16:54:07 PDT 2011


On Wed, Apr 6, 2011 at 6:14 PM, Kenneth Brody <kenbrody at spamcop.net> wrote:
> On 4/6/2011 5:38 PM, daN baueR wrote:
>>
>>  ◄ If:                                                                   ◄
>>        Then: dim this(399):1; dim that(399):mmi(1); x(3,.0)="1"
>>      ◄
>>  82  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>> -
>> loopAAA◄ If: x le "399"
>>      ◄
>>        Then: that(x)=this(x)
>>  ◄
>>  83  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>> -
>>        ◄ If: x le "399"
>>      ◄
>>        Then: x=x+"1"; goto loopAAA
>>     ◄
>>  84  -------   -   -   -   -   -   -   -
>>
>> Could someone please point out my syntax error here.
>
> I don't see one.  What does the error message say?
>
>> This is on a
>> very old 4.5 platform just in case it's a version issue. I'm also
>> dealing with a terminal emulation issue that is obscuring the error
>> message so I can't even identify the line more actuatlly than this
>> section.
>
> How, exactly, is the error message obscured?  (And why doesn't this issue
> affect things prior to the error?)
>
> And how do you know that the error is on one of these lines if the error
> message is obscured?
>
> What if you run it on another terminal and/or emulator and/or TERM setting?
>
>>  I'd use the lookup / copy commands to do this but only the
>> first 399 fields match up in both files.  I'm doing a lookup to file
>> MMI and attempting to copy all the data from the current record to the
>> matching record in the MMI file. Thanks in advance for your help.
>
> --
> Kenneth Brody
>



*** A filePro Error Has Occurred ***─────────────────────┘ -   -   -   -   -
       ◄ If:                                                                   ◄
Line Number: 82                                                                ◄
101  -------   -   -   -   Check Syntax? (Y/N) Y   -   -   -   -   -   -   -
a=this(x); that(x)=a                                                           ◄
       Th^n:                                                                   ◄
Process contains a syntax error at position indicated. -   -   -   -   -   -
       ◄ If:                                                                   ◄
       Then:                                                                   ◄
103  -------   -   -   -   -   -   -   -   -


This is the actual report that I get when I try to test the syntax.
It's bit scrambled but this is the new code that I'm trying to add so
I figure this is it. And this the section of code that pops up after I
press enter.  I'm remote now so this is the best I can do for term
emulation. I think it's pointing to the (x)

Dan


More information about the Filepro-list mailing list