Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - AddArrayElement

Posted in WinTask

'
' AddArrayElement - add an element to an array

'

' Author: Joe Strazzere
'
dim array$(10)

 

Function AddElement$(Element$)
 array$(AddElementCount) = Element$
 AddElementCount = AddElementCount + 1
EndFunction

 

AddElementCount = 0
AddElement$("b")
AddElement$("a")
AddElement$("e")
AddElement$("")
AddElement$("g")
AddElement$("c")
AddElement$("d")

 

i=0
while i < AddElementCount
  Msgbox("There are "+Str$(AddElementCount)+" elements in total"+CRLF+"array("+Str$(i)+") = ["+array$(i)+"]")
  i=i+1
wend


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now