ToolBook to Visual Basic translation 
Author Message
 ToolBook to Visual Basic translation

Some help would really be appreciated. I've been using ToolBook exclusively
for 6 plus years and am now trying to do a project in VB 5.0. I know there
are some people out there who are fluent in both languages and hopefully be
able to help me out with some syntax. I've checked out the Visual Basic
terms section in OpenScript help, but could really use a simple example to
get me started.

I have a loop in Openscript that populates one array, "hashTable", with the
textLines of a local variable and another array, "CDMArray", with a random
selection of a list.

to handle CDM
        local CDMArray[][]
        local hashTable[]

        dummVals = "A+B+","C" &CRLF&\
                   "D+E+","F" &CRLF&\
                   "F+C+","A" &CRLF&\
        fill hashTable with dummVals in [textLine] order
        fillVar = "A,B,C,D,E,F,"
        N = 3
        M = dimensions(hashTable)

        step i from 1 to N
                step j from 1 to N
                        CDMArray[i][j] = item random(itemCount(fillVar)) of fillVar
                        put CDMArray[i][j] & CRLF after text of field "foo"
                end step --j
        end step --i
-- other stuff follows
end

Thanks for your help.

Jim Johnson
In Silico Technologies, Inc.
The Leader in Virtual Biotechnology
www.insilico.com



Sun, 31 Oct 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. visual basic and clipper - need a translation

2. Translation of a SOAP Envelope - Visual Basic/SOAP Toolkit to Java/Apache

3. Visual Basic to Word6 translation

4. Translation from PHP to Visual Basic

5. Translation from PHP to Visual Basic

6. basic to c translation

7. Old basic translation

8. C++ to Basic translation of Linear/Binary Search

9. A few BBC Basic to VB5 translation questions

10. C++ To Basic Code Translation Help!

11. C++ To Basic Code Translation Help!

12. do Visual Basic 6.0 and Visual Basic .NET version beta Working Both

 

 
Powered by phpBB® Forum Software