Skip to content

Instantly share code, notes, and snippets.

@svolpe43
Created September 17, 2014 01:50
Show Gist options
  • Save svolpe43/019ae7538b9b5ba358d6 to your computer and use it in GitHub Desktop.
Save svolpe43/019ae7538b9b5ba358d6 to your computer and use it in GitHub Desktop.
VB
Step = .001
A = 500;
B = 1000;
Range = A - B
arrayLength = Range / Step
Dim array(arrayLength) As Integer
For index As integer = 0 to arrayLength
array(index) = sin(A + (step * index));
Next
//
array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment