Command line parameters?

xbury.cs at clearstream.com xbury.cs at clearstream.com
Thu Mar 11 03:28:18 EST 2004


check out the paramcount in the dictionary.
the params

function domathing
  local xp,y,linecount,c,z
  put the paramcount into xp
 
  repeat with x = 1 to xp
    get param(x)
   ...

---------------------=---------------------
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465




"Kevin" <nnoydb at excite.com>
Sent by: use-revolution-bounces at lists.runrev.com
11.03.2004 08:14
Please respond to nnoydb; Please respond to How to use Revolution

 
        To:     use-revolution at runrev.com
        cc: 
        Subject:        Command line parameters?

.




I am unable to locate a construct that would provide the number of 
parameters that have been passed via the command line.  I am aware of $0 
... $n but how does one know how many there are a how would I loop through 
them? 

Kevin


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER


More information about the use-livecode mailing list