Re: Running DOS Basic programs within VFP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I can do that, yes. Just tried it and it seems to give the same result as
doing it in the existing FP code.

What it's supposed to do is call the Basic program, which reads a text file
that was created in FP. Then it sits and waits for input from a COM port.
When it gets the required number of inputs, the Basic program outputs a text
file that is then read into the FP database.

It "calls" the Basic program fine, but it doesn't "wait" for any input, it
just flashes past the DOS screen and goes on it's merry way. This is not
good. ;)

Any thoughts?
Thanks!

"Matthew L Reed" <nousenetspam at dead ice dot us> wrote in message
news:Oz3wE4VOGHA.3576@xxxxxxxxxxxxxxxxxxxxxxx
Can you start the Basic apps from a batch file? If so, create said batch
file and run the batch file from VFP.

"43fan" <sleap@xxxxxxxxxxxxxx> wrote in message
news:CMCdnRyKPIJBvGLenZ2dneKdnZydnZ2d@xxxxxxxxxxxxxxxxx
Is this possible? Are there particular problems I should be looking for?

Right now, the system is written in FPD2.6, converting a bunch of things
to
VFP8 right now, getting VFP9 shortly. There are a couple of small basic
programs that are used to bring data in, that I'd just as soon use just
as
they are for the time being and then re-write them in VFP down the road.

Do I need them compiled to .exe's? Or can I run either GWBasic or Quick
Basic from within a VFP program calling the code that's needed?

Thanks!
Shawn






.



Relevant Pages

  • Re: Can I -- Convert M/L code to BASIC ?
    ... what I would like to see in a ML editor that acted like BASIC;i.e. ... it would preferably have the ability to RUN like a BASIC program ... about converting ML to Basic. ...
    (comp.sys.cbm)
  • Re: Can I -- Convert M/L code to BASIC ?
    ... On the idea of converting ML to BASIC, the best you could hope for is a ... having written a functionally-equivalent BASIC program instead. ... GOTO destination would be whatever line contains the code originally found ... "Life is full of happy and sad events. ...
    (comp.sys.cbm)
  • Re: Can I -- Convert M/L code to BASIC ?
    ... Disassemblers have been around for years.. ... about converting ML to Basic. ... One might compare it to spoken languages and say it should be like ... wind up with a BASIC program that is nothing but a bunch of POKE and ...
    (comp.sys.cbm)
  • Re: ASCII characters in my hex output
    ... If your converting a Basic program, I did the same and you can ... find it by googling 'Eurotherm'. ...
    (comp.lang.python)