Commandline$
Parameter$ = Commandline$()
 
Parameters: NONE
Returns:

    Parameter$ = The parameter string (if any) that was issue to your program upon start up
 

      Commandline$() will return any command line parameters issued to your program upon startup.




FACTS:


      * When a program is executed from the IDE, you can set the
command line parameters to whatever you like. To change the parameter in the IDE, select RUN -> PARAMETER from the top menu.


 
Example Source: Download This Example
; Print the Command line paramters passed to the program.
  
;  When your program is executed from the IDE, you can set the
; command line parameters to whatever you like.
  
;  To change the Command Line parameter in the IDE, select RUN -> PARAMETER
; from the menu above.  In there you should see the message i've left
; your you!
  
  Print CommandLine$()
  
  Sync
  WaitKey
  
  
  
  
  
 
Related Info: :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com