how to determine how many parameters in commandline

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Sep 5 12:04:53 EDT 2008


Matthias,

put $#

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
http://facebook.economy-x-talk.com

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 5 sep 2008, at 17:56, runrev260805 at m-r-d.de wrote:

> Hi,
>
> how can i determine how many parameters ($0.$1,$2,$3...) were in a  
> commandline.
>
> And is there a limitation in the count of the commandline parameters?
>
> I need this to allow the customer to drag several files onto a  
> shortcut of a rev app (under windows).
> The filenames are automatically put each into one commandline  
> variable. But how can i find out how much files/variables these are?
>
>
> Regards,
>
> Matthias




More information about the use-livecode mailing list