I'm having a bit of trouble reading a variable from an ASCII text file.

Here is the contents of my variable file w:\mcl\shimstak.mcl
4


Here is the contents of the w:\mcl\shimread.mcl macro file that opens, 
reads and then closes the w:\mcl\shimstak.mcl file

VAR_REMOVE_ALL[]

string:#Shim_Stack

F_OPEN[ FN=W:\MCL\SHIMSTAK.MCL, TY=R]

F_READ[ FN=W:\MCL\SHIMSTAK.MCL, FMT=%, VR=#Shim_Stack ]

F_CLOSE[ FN=W:\MCL\SHIMSTAK.MCL ]

Once I've executed the w:\mcl\shimread.mcl and do a 
Macro, Variables and look at SHIM_STACK variable
it shows nothing.

Why?

I've attached both files.

Regards,
Michael Senack
 <<SHIMREAD.MCL>>  <<SHIMSTAK.MCL>> 

Attachment: SHIMREAD.MCL
Description: Binary data

Attachment: SHIMSTAK.MCL
Description: Binary data

Reply via email to