dbTalk Databases Forums  

Problem with Dimension/Array

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Problem with Dimension/Array in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
siemi1@gmail.com
 
Posts: n/a

Default Problem with Dimension/Array - 05-04-2005 , 05:05 AM






Hi,

First of all, I'm not a real VFP programmer, so please forgive me this
probably quite basic question. I am just trying to get rid of the error
messages we get when using this program.

We have a tool which is programmed in VFP5 which works fine when we run
it from the development environment. When I try to compile it to an
executable I receive the messages:
Unable to find VCONFIG
Unable to find VCONFIGS

When I run the compiled program I get the following message:
Row or column position is off the screen

This is caused by a part of the screen for which is shortened outside
the development environment. Well, as far as I can see, it is caused by
this part:
PUBLIC VCONFIG , VCONFIGS , VLINEBREAK , VPAGESEP , VFR
DIMENSION VCONFIG (100), VCONFIGS (100)
STORE '' TO VCONFIG , VCONFIGS

It looks like he is using an array which works fine in the development
environment, but when it is compiled to an executable it doesn't work
any more and it gives error messages on the variables during compile.

But like I said, I'm not a VFP programmer, so I didn't manage to find a
way to make it work. I hope there will be someone here who can help me
to make it work.

Many thanks,

Michel


Reply With Quote
  #2  
Old   
lemmebe@frednwilma.com
 
Posts: n/a

Default Re: Problem with Dimension/Array - 05-04-2005 , 10:35 PM






On 4 May 2005 03:05:27 -0700, siemi1 (AT) gmail (DOT) com wrote:

I'm guessing that the arrays vconfig and vconfigs set up in this procedure
are used as parameters in a call to another procedure. Find that other
procedure, and at the beginning of it's code put the lines:

External array vconfig
External array vconfigs

Alan

Quote:
Hi,

First of all, I'm not a real VFP programmer, so please forgive me this
probably quite basic question. I am just trying to get rid of the error
messages we get when using this program.

We have a tool which is programmed in VFP5 which works fine when we run
it from the development environment. When I try to compile it to an
executable I receive the messages:
Unable to find VCONFIG
Unable to find VCONFIGS

When I run the compiled program I get the following message:
Row or column position is off the screen

This is caused by a part of the screen for which is shortened outside
the development environment. Well, as far as I can see, it is caused by
this part:
PUBLIC VCONFIG , VCONFIGS , VLINEBREAK , VPAGESEP , VFR
DIMENSION VCONFIG (100), VCONFIGS (100)
STORE '' TO VCONFIG , VCONFIGS

It looks like he is using an array which works fine in the development
environment, but when it is compiled to an executable it doesn't work
any more and it gives error messages on the variables during compile.

But like I said, I'm not a VFP programmer, so I didn't manage to find a
way to make it work. I hope there will be someone here who can help me
to make it work.

Many thanks,

Michel
My real address is alan at sprint dot ca
(with a 'p' on 'alan' making it 'alanp',
and no spaces). I'm sick of email spam.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.