23 lines
770 B
Plaintext
23 lines
770 B
Plaintext
/*
|
|
***********************************************
|
|
*** Helpers.hws Example : HL.ParseRunArgs() ***
|
|
***********************************************
|
|
************************************************************************
|
|
*** THIS EXAMPLE MUST BE COMPILED AND EXECUTED USING THE COMMANDLINE ***
|
|
*** WITH SOME Argument - value PAIRS ***
|
|
*** Example: prompt>compiled.exe -param1 first -param2 second ***
|
|
************************************************************************
|
|
*/
|
|
|
|
@INCLUDE "../../+Includes.hws"
|
|
@INCLUDE #INC_HELPERS
|
|
|
|
NPrint("HL.ParseRunArgs Example")
|
|
NPrint("---------------------\n")
|
|
|
|
Local Arguments = HL.ParseRunArgs(False)
|
|
ForEach(Arguments, NPrint)
|
|
|
|
NPrint("\n--- Left mouse button to quit ---")
|
|
WaitLeftMouse()
|