1
0
Fork 0
mirror of https://gitlab.com/niansa/pilang2.git synced 2025-03-06 20:49:22 +01:00

Improved example

This commit is contained in:
niansa 2020-04-13 15:44:49 +02:00
parent ea47364761
commit 9c4f5dc437

View file

@ -14,8 +14,12 @@
#along with pilang. If not, see <https://www.gnu.org/licenses/>.
catch True
# Store passed arguments as concenated string
# Check argv
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 userin,
marker set,concatloop