Visual Basics

or

stars = "*****"
for k = 1 to 5 do
tempstring = left( stars, len( stars )-1)
print tempstring
stars = tempstring
loop

now this is done with to for loops... i got it to work, pretty easy actually :D
 
and for those who would like to know here is the solution

For K = 8 To 1 Step -1
For J = 1 To K​
ast = ""
ast += "*"​
Next​
ListBox1.Items.Add(ast)​
Next
 
Top
Sign up to the MyBroadband newsletter
X