New topic: 

What actually works Cross Platform?

<http://forums.realsoftware.com/viewtopic.php?t=26244>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       astrodan           Post subject: What actually works Cross 
Platform?Posted: Thu Jan 29, 2009 11:00 am                        
Joined: Thu Feb 28, 2008 7:44 pm
Posts: 5              Hello,

I wrote a small program which calls a bash script in Linux.  But, when I build 
it on Windows and try to run it, it doesn't work.  I get Error 1.  I am using 
the pro version of REALbasic, and yes, this is my first attempt at programming.

1: Is there a list of things which are no no's? i.e.  scripts don't work. 

2: Can someone tell me if there is a list of error codes somewhere?

Thanks in advance of any comments or help.

Dan   
                            Top                mrebar           Post subject: 
Re: What actually works Cross Platform?Posted: Thu Jan 29, 2009 12:06 pm        
                
Joined: Wed Feb 15, 2006 1:30 pm
Posts: 2336
Location: U.S.A (often) Spokane, Eugene, Pago Pago              Quote:But, when 
I build it on Windows and try to run it, it doesn't work. 
bash is not installed on Windows. You can install it separately -- it might 
work for you depending on what you're trying to accomplish.

Quote:1: Is there a list of things which are no no's? i.e. scripts don't work. 
No, no real list. The LR is getting better about noting cross-platform 
differences.

Quote:2: Can someone tell me if there is a list of error codes somewhere?
Generally speaking, the error codes are in the LR entry for the topic of 
interest. In this case, the LR Shell.ErrorCode entry has this note.
Quote:It returns 0 if the Execute method was executed successfully. Otherwise, 
it returns a system-supplied error code. On Windows, it returns -1 if execution 
fails.

Michael   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to