Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Execute from var?

$
0
0

I am experimenting with Execute function.

This way- works fine for me

$a = "fileread" $f = Execute ('fileread ("test.txt")') ConsoleWrite ($f)

But  if I replace fileread with variable $a then it wont work

$a = "fileread" $f = Execute ('$a ("test.txt")') ConsoleWrite ($f)

Is there a way to make it work from var?

 

Great thanx in advance!


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>