10-18-2011, 10:33 PM
Hi,
Here we go...
In the same way you can play with below examples as well.
Execute the below code and see
Here we go...
Code:
temp=""
N=5
For i=1 to N
temp=temp&"*"
Next
msgbox temp
In the same way you can play with below examples as well.
Execute the below code and see
Code:
For j=1 to 10
temp=""
For i=1 to j
temp=temp&"*"
Next
print temp
Next
Code:
For j=10 to 1 step-1
temp=""
For i=j to 1 step-1
temp=temp&"*"
Next
print temp
Next