🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #171

Problem with VB for next loop

#171
From: Wan Li Zhu
Date: Thu, 20 Nov 1997 22:25
8 lines
1045 bytes
    Hi, I'm trying to make a program in VB 4.0 to calculate pi with the
following formula:

pi/4 = 2/3 * 4/3 * 4/5 * 6/5 * 6/7 * 8/7 *...

I just couldn't figure out how to do this with the For-Next loop in VB
and would really appreciate it if anyone can offer me some hint/help.
Thank you!
Technical Details
Message-ID: <3474B8D9.B305D462@okcom.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.nask.pl!01-newsfeed.univie.ac.at!newscore.univie.ac.at!newsfeed.ecrc.net!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!zdc!szdc!super.zippo.com!newsp.zippo.com!snews2

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.nask.pl!01-newsfeed.univie.ac.at!newscore.univie.ac.at!newsfeed.ecrc.net!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!zdc!szdc!super.zippo.com!newsp.zippo.com!snews2
From: Wan Li Zhu <zhuw@okcom.net>
Newsgroups: pl.comp.lang.vbasic,fj.lang.visualbasic,comp.lang.basic.visual.misc
Subject: Problem with VB for next loop
Date: Thu, 20 Nov 1997 17:25:29 -0500
Organization: Zippo News Service [http://www.zippo.com]
Lines: 9
Message-ID: <3474B8D9.B305D462@okcom.net>
NNTP-Posting-Host: p-427.newsdawg.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.03 [en] (Win95; I)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit