[futurebasic] Re: [FB] UNIX data file for FB application program

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: BHEIBERT810@...
Date: Fri, 31 May 2002 15:03:22 EDT
I hate to do this (Sorry Staz) but for anything to do with UNIX I'd reccommend RealBASIC.  This requires MacOS X.

Here is a simple RealBASIC shell program
this one lists files, but you can change 
it in s.execute to whatever unix command you want.

Dim s As Shell
s=New Shell
If TargetCarbon then
s.execute "ls -la"
If s.errorCode=0 then
EditField1.text=s.result
else
MsgBox "Error Code: "+Str(s.errorCode)
end if
end if

-Brian