Let's see: 'a.bat 10' works but 'a.bat', myTextField asString does NOT work.
There's clearly something wrong with 'a.bat', myTextField asString - but
what? As Tim says, you have to investigate.

Tim has suggested a couple of ways you could investigate. Here's another -

You have my code that writes the stuff typed in to myTextField to the
Transcript when you click the button. Did you get it working? Did you try it
out? Are you happy you understood it? The Transcript is not perhaps the best
way to debug but in this case you have it readily available.

Amend that code so that it writes out 'a.bat', myTextField asString to the
Transcript. Do you get what you expect? If not, why is that?

When you see what you are getting it should give you a good clue as to what
is wrong. Keep experimenting with the code until you get precisely what you
want appearing in the Transcript. Then you can go back and change the code
to use LibC 

Hope this helps


 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to