PDA

View Full Version : how to set macro value from text file?


pyang
05-16-2005, 01:59 AM
Hi,

I would like to set a macro value with the value taken from a text file. How can i do that.

Thank you.

pyang

kinook
05-16-2005, 06:38 AM
The attachment shows a couple ways to read the contents of a text file into a macro.

pyang
05-16-2005, 07:50 PM
Thank you. Got it working!!!

GrahamS
05-24-2005, 08:55 AM
Extending this idea, how can I extract some text from a file and assign it to the macro? For example, extract the version ID from a file, where the version is always coded in the following format

VersionID = "x.y.z";

(x.y.z could, of course, change from build to build)

kinook
05-24-2005, 04:24 PM
See attachment.

GrahamS
05-25-2005, 04:46 AM
Thanks a lot - easy when you know how :-)

Ken
08-17-2005, 04:17 PM
Thanks, this helped me as well!

Ken