It is currently Sat May 25, 2013 11:59 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Command String
PostPosted: Fri Jun 13, 2003 12:39 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Jun 04, 2003 8:44 am
Posts: 168
Location: Switzerland
Hi

Is there a way to use a command string with my application?

For example, my application is called Foo.exe, i want the user to be able to write this:

Code:
foo.exe?showSplash=false


and my application will receive FALSE and know it will not show the splash on start.

Is this doable?

Cecil


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2003 12:53 pm 
Offline
Administrator
Administrator

Joined: Wed Apr 23, 2003 7:57 pm
Posts: 1309
Location: Belgium
Parameter$ = ProgramParameter()

_________________
Berikco

http://www.cenn.be


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2003 2:21 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 16, 2003 3:47 pm
Posts: 1285
Location: England
Except you will need to separate the name from the paramaters by a space rather than a ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2003 7:28 pm 
Offline
User
User

Joined: Wed May 07, 2003 4:25 am
Posts: 42
Location: Palatine,IL.,USA
Cecil,

I put up a snippit of code to show one possible solution, at:

http://forums.purebasic.com/english/viewtopic.php?t=6365

Hope this helps.

HarryO


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye