I'm trying to pass a variable to the edi command, but I can't seem to make it work. I've tried the following simple macro as an experiment.
input>banana
input>apple
edi>c:\blue.ini, banana, apple, fig newton
After running this command, I enter the following inputs:
For the banana input, I enter yellow.
For the apple input, I enter red
And then I open the .ini file to see what I've accomplished. I was expecting it to say
[yellow]
red=fig newton
But instead it says:
[banana]
apple=fig newton
I tried adding the % sign, and also the " sign, to the strings to see if that would work. I changed the EDI command as follows:
Edi>c:\blue.ini, %banana%, %apple%,fig newton
But that didn't work either. Same with substituting quotation marks.
So how exactly do I pass a variable to the Edi command?
Thanks,
Kwhiz
I can't pass a variable to the EDI command...?
Moderators: JRL, Dorian (MJT support)
I was just about to tell you that about the Input command. Better that you found it yourself. Congrats.
Also you have spaces in the EDI line. Macro Scheduler would see those spaces as viable characters in a variable name. "banana" is a different variable than " banana". Also the quotes are included here just so you can see a space at the start of the second banana. There would not normally be quotes around a variable.
Later,
Dick
Also you have spaces in the EDI line. Macro Scheduler would see those spaces as viable characters in a variable name. "banana" is a different variable than " banana". Also the quotes are included here just so you can see a space at the start of the second banana. There would not normally be quotes around a variable.
Later,
Dick