|
-
Nov 8th, 2004, 04:42 AM
#1
Thread Starter
Junior Member
how to go out from a case statement
hi
i have a case statement
Do While stage < 10
For k = 0 To 1023
temp_real(k) = out_real(k)
temp_imag(k) = out_imag(k)
Next
Select Case stage
Case 1
For k = 513 To 1023
temp_real(k) = (out_real(k) * wn_real(256)) - (out_imag(k) * wn_imag(256))
temp_imag(k) = (out_real(k) * wn_imag(256)) + (out_imag(k) * wn_real(256))
k = k + 2
Next k
'
Case 2
For weight = 1 To 3
For k = 1 To 255
temp_real(k + weight * 256) = out_real(k + weight * 256) * wn_real(weight * 128) - out_imag(k + weight * 256) * wn_imag(weight * 128)
temp_imag(k + weight * 256) = out_real(k + weight * 256) * wn_imag(weight * 128) + out_imag(k + weight * 256) * wn_real(weight * 128)
k = k + 2
Next k
Next
End Select
stage = stage + 1
Loop
i want to go out of the case statement after doing it
can anybody helps me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|