-
Notifications
You must be signed in to change notification settings - Fork 86
system cmdargc
Chris Petersen edited this page Oct 16, 2014
·
1 revision
system-cmdargc returns the number of command line argument on Linux, Windows and Mac OS X. Note that the zeroth argument is the application name (as in C).
Example of starting DemoConsole with a bunch of arguments and extracting them later.
./DemoConsole 1 2 3 4 5 5
DemoConsole
> (system-cmdargc)
7
> (system-cmdargv 10)
#f
> (system-cmdargv 5)
"5"
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip