Long variable issue
Nancy Palmquist
nancy.palmquist at vss3.com
Mon Feb 1 07:22:29 PST 2021
Richard,
Before you blame the long variable name, I suggest
msgbox getenv("UserName")
To make sure UserName has a value in the environment and the value you
expect.
Next try a different long variable word. Sometimes that makes a
difference and you have maybe some kind of conflict with that long
variable word.
I have done this many times and it always works for me.
Nancy
On 1/29/2021 1:59 PM, Richard Kreiss via Filepro-list wrote:
> I declared a long variable in a called processing table.
>
> Declare runname
>
> In the called processing table I have:
>
> If:
> Then: runname=getenv("username")
> If: getenv("username")="rkreiss"
> Then: debug on (the debugger is activated)
>
> When I evaluate runname is appears as empty ||
>
> When I change the declare to Runname(32*) and check the value of runname again, it the field is emp[ty but the | | lines are 32 characters apart.
>
> Does any one have any ideas as to why runname is not being filled with "rkreiss".
>
> I have asked this question of FP Tech support and so far have not received an answer to this problem. They have asked for other information and for mew to clarify what I wrote even though I gave them the processing used and the issue I weas having.
>
> I seem to recall that there is a limit as to the number of variables one can have but it is not documented. Could I be passing this limit as there are a lot of declared values in the original processing table as well as the called table. The called table is in a different folder(directory) then the original processing. Is the total of the variable a combination of both tables?
>
> I may be able to eliminate some of the declared variables in the called table as this is a copy of one that is for a different purpose and I did not remove all of the declared values used in the other program.
>
> Any assistance with this issue will be greatly appreciated.
>
>
> Richard Kreiss
> GCC Consulting
>
>
>
>
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: winmail.dat
> Type: application/ms-tnef
> Size: 15524 bytes
> Desc: not available
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20210129/1638b6ac/attachment.bin>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20210201/5fbe40c3/attachment.html>
More information about the Filepro-list
mailing list