I think it's not * 2. If it was, then how is 3 equal to 1/4? And 5 is to 1/16?
L LYLEY19 Registered User. Local time Today, 14:21 Joined Sep 21, 2012 Messages 16 Sep 24, 2012 #21 I think it's not * 2. If it was, then how is 3 equal to 1/4? And 5 is to 1/16?
pbaldy Wino Moderator Staff member Local time Today, 14:21 Joined Aug 30, 2003 Messages 36,124 Sep 24, 2012 #22 The denominator is. If it's 5: first loop is always 1 (1/1) 1 times 2 is 2 (1/2) 2 times 2 is 4 (1/4) 4 times 2 is 8 (1/8) 8 times 2 is 16 (1/16)
The denominator is. If it's 5: first loop is always 1 (1/1) 1 times 2 is 2 (1/2) 2 times 2 is 4 (1/4) 4 times 2 is 8 (1/8) 8 times 2 is 16 (1/16)
L LYLEY19 Registered User. Local time Today, 14:21 Joined Sep 21, 2012 Messages 16 Sep 24, 2012 #23 How do i make it a fraction? Alright I'm kinda lost again
pbaldy Wino Moderator Staff member Local time Today, 14:21 Joined Aug 30, 2003 Messages 36,124 Sep 24, 2012 #24 Numerator & "/" & Denominator
L LYLEY19 Registered User. Local time Today, 14:21 Joined Sep 21, 2012 Messages 16 Sep 24, 2012 #25 Can you site an example of how the code looks like with do while/loop? Even just the beginning itself would really be a big help for me
Can you site an example of how the code looks like with do while/loop? Even just the beginning itself would really be a big help for me
L LYLEY19 Registered User. Local time Today, 14:21 Joined Sep 21, 2012 Messages 16 Oct 2, 2012 #26 http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=44201&stc=1&d=1349216202 What statement should I write after the Do While? :3 Attachments Capture.PNG 24.9 KB · Views: 184
http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=44201&stc=1&d=1349216202 What statement should I write after the Do While? :3
pbaldy Wino Moderator Staff member Local time Today, 14:21 Joined Aug 30, 2003 Messages 36,124 Oct 2, 2012 #27 You could do it the same way you were before. That looped once for each integer, did it not?
L LYLEY19 Registered User. Local time Today, 14:21 Joined Sep 21, 2012 Messages 16 Oct 3, 2012 #28 I can actually manage without the do while/loop http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=44203&stc=1&d=1349219511 But whenever I add do while/loop it always debug in this line code http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=44202&stc=1&d=1349219474 Attachments Capture.PNG 15.2 KB · Views: 189 1.PNG 26.6 KB · Views: 193
I can actually manage without the do while/loop http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=44203&stc=1&d=1349219511 But whenever I add do while/loop it always debug in this line code http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=44202&stc=1&d=1349219474
pbaldy Wino Moderator Staff member Local time Today, 14:21 Joined Aug 30, 2003 Messages 36,124 Oct 3, 2012 #29 Use a different variable. You can't put s string value into an Integer variable.