Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

kix

Hi,

I'm interested to path information from an external executable program (written in C), which does some calculations (that are not convinient to write in kix), to a kix script.

What's the best way to acomplish this?
(I'd like to avoid writing to a temporary file)

Thanks,
V.F.
0
zz_vf_zz
Asked:
zz_vf_zz
  • 3
1 Solution
 
SunBowCommented:
I prefer temporary file
0
 
SunBowCommented:
Is this KixTart?

Never mind. As you have phrased this, I think I'd go with a canned script, a boiler-plate, if you will. Read in the static parts in C, and have the C code tuck in the new information, while outputting the combination into a single script file (not temporary, but readable, for troubleshooting, which is why I made prior comment, to benefit debugging efforts).

Answer: Use same C program to output the script itself.
0
 
SunBowCommented:
Thanx.  I do tend to prefer simplification (KISS) and tracking (log & other 'temp' files) to maintain sense of control. My use of Boilerplate, to be clear, is that all of the 'canned' script, the parts that do not change over time, to have a standard file that is imported by the code. This permits ease of changing minor items, such as changed street address, city,, some data item not essential to programmatic functions.
Thanx, and

Good Fortune
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now