mirror of
https://gitlab.com/niansa/pilang2.git
synced 2025-03-06 20:49:22 +01:00
Improved example
This commit is contained in:
parent
ea47364761
commit
9c4f5dc437
1 changed files with 5 additions and 1 deletions
|
@ -14,8 +14,12 @@
|
||||||
#along with pilang. If not, see <https://www.gnu.org/licenses/>.
|
#along with pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
catch True
|
catch True
|
||||||
# Store passed arguments as concenated string
|
|
||||||
|
# Check argv
|
||||||
set argslen,$argc
|
set argslen,$argc
|
||||||
|
cmp equal,$~argslen,2,"print Usage: ,$argv 0, <some text>",exit 1
|
||||||
|
|
||||||
|
# Store passed arguments as concenated string
|
||||||
set counter,2
|
set counter,2
|
||||||
set userin,
|
set userin,
|
||||||
marker set,concatloop
|
marker set,concatloop
|
||||||
|
|
Loading…
Add table
Reference in a new issue