Doers mid work with dim

Richard D. Williams richard at appgrp.net
Mon May 23 14:03:58 PDT 2022


MID will work with real fields, looked up fields, and any variables.
But not with array names.

Try this:
z=name("1");s(1,.0)=mid(z,"1","1");

Richard

On 5/15/2022 9:42 PM, Richard Kreiss via Filepro-list wrote:
> I have a menu wich uses dim to vreasat a menu in a -v select processing table
>
> I would like to get the first value (a number) of the selected option. I have tried din name(6)
> Where nsme
> name("1") title"
> s(1,.0)=mid(name("1"),1,1) I get an error message from filePro  pointing The opening parentheses.
>
> Can anyone tell me why am getting this error message?
>
>
> Richard Kreiss
> GCC Consulting
>
>
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: winmail.dat
> Type: application/ms-tnef
> Size: 15436 bytes
> Desc: not available
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20220516/43a0ca7b/attachment.bin>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>



More information about the Filepro-list mailing list