Arrays in sort/select processing
Ken Cole
ken.m.cole at gmail.com
Sun Dec 10 20:33:18 PST 2006
Rodgers,
Is that really a "." in front of the "g" when defining variable "y"?
Also the definition must be on the LHS of the "=".
Also I think the "," after ="b" 2nd last line should be a ";"
I have seen things like that cause "funny" errors before.
Even after fixing the errors above I got the same rror until I moved
the dim statement to the top of the processing table and then it
tokenised.
What OS?
What version of filePro?
Ken
On 12/11/06, Rodgers Hemer <r.hemer at w-link.net> wrote:
> Is it possible to use arrays (DIM) in sort/select processing as a
> part of the -v process table?
>
> If so, can anyone tell me why the following process fails at the
> indicated point? I have not been successful in getting debug to give
> me any clues.
>
> The purpose of the process is to input a variable number of existing
> box numbers of 1 to 5 digits each as a selection set for production
> of box labels. Normal input error checking has been deleted for
> brevity in this posting.
>
> If: x eq ""
> Then: gosub setup
> If:
> Then: y=y(3,.0.g) + "1"
> If: y gt n
> Then: end
> If: 2 eq box[y] <===== Failure point at left bracket when
> dcabe checks the syntax
> Then: select
> If:
> Then: end
> setup If:
> Then: dim box[100]:aa
> nxtbox If:
> Then: input popup k(5) "Enter box number: "
> If:
> Then: n=n+"1"; box[n] = k
> If: n eq "100" or k=""
> Then: x(1,,g)="b", return
> If:
> Then: goto nxtbox
>
> Thanks for the assistance.
>
> Rodgers Hemer
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list