Thursday, May 17th 2012, 6:40pm UTC+2

You are not logged in.

  • Login
  • Register

juan

Beginner

1

Wednesday, December 17th 2008, 3:33pm

Split

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

Peter

Trainee

Posts: 69

Location: Cologne, Germany

Occupation: Second Vice President of Distributed Junk and Trash Development

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

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

Posts: 255

Location: Erlangen, Germany

Occupation: Software Developer

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

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