Jump to content

Arrays In Hscript


kubabuk

Recommended Posts

Hi,

How can I create arrays in hscript? :unsure:

thanks

kuba

You cant :(

But if your elements would be numbers or single words, you use a string sometimes, and use the arg() expression to grab out elements:

set x = "55.55  12.45  99.87"
echo "element two is : " + `arg($x,1)`

... make sense?

Python is coming.. hold tight! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...