|
Post by hjackson on Jan 20, 2008 16:35:36 GMT -5
Good afternoon all, I just bought and downloaded RB and am looking forward to learning it. I have some soecific uses in mind.
I am trying to convert a main window demo program I am working on in LB and ran into aproblem right off the bat with a dim statemant. I get an error on the following
Dim gColname$(0), gRowset$(1,1), gColRow(2), info$(1,1), gTmpTable$(10000),gTable$(1000)
Unexpected code at end of line: Dim gColname$(0), gRowset$(1,1), gColRow(2), info$(1,1), gTmpTable$(10000),gTable$(1000)
there is now line wrap in the code can someone tell me what I'm doing wrong
Thank's Hank
|
|
|
Post by Jerry Muelver on Jan 20, 2008 16:49:54 GMT -5
Try it with just one array per statement:
dim gColname$(0) dim gRowset$(1,1) dim gColRow(2) dim info$(1,1) dim gTmpTable$(10000) dim gTable$(1000)
|
|
|
Post by mikeukmid on Jan 20, 2008 16:52:14 GMT -5
Try this:
Dim gColname$(0) Dim gRowset$(1,1) etc.
Like LB, RB does not appear to support multiple dims on one line.
Mike
|
|
|
Post by Brent on Jan 20, 2008 16:59:53 GMT -5
The following works:
Dim gColname$(0) Dim gRowset$(1,1) Dim gColRow(2) Dim info$(1,1) Dim gTmpTable$(10000) Dim gTable$(1000) Apparently DIM doesn't allow a list.
|
|