You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

juan

Beginner

  • "juan" started this thread

Posts: 20

Date of registration: Dec 11th 2008

  • Send private message

1

Wednesday, December 17th 2008, 3:33pm

Split

Hello.
Jabaco don't support Split function?
Dt = Split(Linea, ",") '<- Unexpected: Array!
Thanks. :)

Peter

Trainee

  • "Peter" is male

Posts: 69

Date of registration: Nov 24th 2008

Location: Cologne, Germany

Occupation: Second Vice President of Distributed Junk and Trash Development

  • Send private message

2

Wednesday, December 17th 2008, 4:31pm

RE: Split

Hello juan,

Jabaco Source

1
2
3
4
5
6
7
8
Dim myArray() As String
Dim myLine As String
  
myLine = "1;2;3;4;5"

myArray()=Split(myLine, ";")
  
MsgBox myArray(2)


Greetings ... Peter

juan

Beginner

  • "juan" started this thread

Posts: 20

Date of registration: Dec 11th 2008

  • Send private message

3

Wednesday, December 17th 2008, 5:00pm

Hi.
Dim myArray() As String
With VB I can declare myArray this way:
Dim myArray
It works now.
Thank you Peter :)

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

4

Wednesday, December 17th 2008, 7:46pm

> With VB I can declare myArray this way:
> Dim myArray

will be supported in a future version. i have some other priorities for jabaco at the moment (documentation, deployment, bugfixing). at the moment - you should define your vars (at least arrays and non-arrays). i think you'll never use other ways in future if you accustom to this method.

juan

Beginner

  • "juan" started this thread

Posts: 20

Date of registration: Dec 11th 2008

  • Send private message

5

Wednesday, December 17th 2008, 11:21pm

will be supported in a future version. i have some other priorities for jabaco at the moment ...
It's logical what you say, Manuel, as it's a detail of little importance in comparison with the great work you're doing.
Congratulations again. :)

Rate this thread
WoltLab Burning Board