Skip to content

Planet-Source-Code/daniel-keep-command-line-arguments-processor-1-8__1-36623

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Command-Line Arguments Processor (1.8)

Description

This is just a little module I threw together... must've been over three years ago. I've used it in nearly all my applications since. It basically takes the application's Command$ string, and turns it into a C/C++ style array of arguments. This is invaluable when writing apps that need to take arguments from the command line. It also has an added method IsSwitch() to find switches in your arguments (like /l, /swap or even complex ones that use pattern matching!)

D/L it and give it a try. -- Update 1.6b --: Well, I should've updated this earlier, but oh well. Fixes a problem with IsSwitch(), and re-introduces GetArgs()! GetArgs() is the original method, and allows you to specify not only a custom command-line, but also which arrays you want it to be processed into. -- Update 1.8 --: Ok, this is a pretty big update. It changes the naming scheme of the methods, adds a few, and removes one or two that weren't related. See the top comment for more info. Enjoy, and Merry Christmas!

More Info

RTFM || Read The F... Flipping Manual... ;)

Submitted On 2002-12-15 20:15:20
By Daniel Keep
Level Intermediate
User Rating 4.9 (49 globes from 10 users)
Compatibility VB 5.0, VB 6.0
Category Libraries
World Visual Basic
Archive File Command-Li15155012192002.zip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published