Page 1 of 1

PHP Script Translate To VB 6.0

Posted: Sat May 20, 2006 4:07 am
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

Posted: Sat May 20, 2006 4:43 am
by Benjamin
Wrong Forum Category.

Posted: Sat May 20, 2006 2:54 pm
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