Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to name an executable using a variable?
Message
 
To
07/09/2002 15:24:36
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00697937
Message ID:
00697942
Views:
21
This message has been marked as the solution to the initial question of the thread.
Hi,

>2. build a new project called mcm
CREATE PROJECT mcm NOWAIT
*-- Add files to the project
>3. build a new exe file called mcm566 (i.e., I want to be able to
> concatenante mcm+mThisNumber, which should result in an executable called
> mcm566.exe
lcEXEName = "mcm" + mThisNumber
BUILD EXE &lcEXEName FROM mcm
Is that what you mean?

Armin


>Hi All:
>
>I have a number stored as a string in variable mThisNumber. Lets say the content of this variable is a string 566. In a program file I do the following:
>
>1. delete a file called mcm from directory rcmsprog
>2. build a new project called mcm
>3. build a new exe file called mcm566 (i.e., I want to be able to
> concatenante mcm+mThisNumber, which should result in an executable called
> mcm566.exe
>
>How should I address issues 2 and 3 above. Thank you for your assistance in
>advance.
>
>Regards,

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform