PHP Script Translate To VB 6.0

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
SYEDHANIF
Forum Newbie
Posts: 1
Joined: Wed May 17, 2006 7:08 am

PHP Script Translate To VB 6.0

Post by SYEDHANIF »

Hi

class Astro
{
var $jd;
var $dec;
var $ra;
var $sid;
var $dra;
var $rsum;

function Astro()
{
$this->jd = 0.0;
$this->dec = array(0.0, 0.0, 0.0);
$this->ra = array(0.0, 0.0, 0.0);
$this->sid = array(0.0, 0.0, 0.0);
$this->dra = array(0.0, 0.0, 0.0);
$this->rsum = array(0.0, 0.0, 0.0);
}

function copyFrom(&$source)
{
$this->jd = $source->jd;
$this->dec = array_values($source->dec);
$this->ra = array_values($source->ra);
$this->sid = array_values($source->sid);
$this->dra = array_values($source->dra);
$this->rsum = array_values($source->rsum);
}

};


this php script i need this script to be translate in vb 6.0 can any body help out how to bring this in vb 6.0

kinds regards
syedhanif
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Wrong Forum Category.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Edit: Ooops...just realized this is in thew wrong forum...I responded to quickly...my bad :?

VB sucks!!! Real programmers use C++ :P
Post Reply