This isn't working:
Dim s as New Shell
Dim cmd as String
#if TargetMacOS and Not( TargetMacOSClassic) and Not(TargetLinux)
and not(TargetWin32)
cmd="gcc "+cEdit.text
#endif
s.execute cmd
if s.errorCode=0 then
EditField1.text=s.Result
else
EditField1.text="Error "+ Str(s.ErrorCode)
end if
I assume I need to specifiy a file instead of a edit field
How would I go about doing that? I would want to save the text in my
edit field to that file and then execute the command gcc to compile
it. Would this create a UNIX app or a OS X app?
I doubt OS X since OS X still kind of has resource fork or uses .app
bundles
Brian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>