Hi
I am accessing a dbf file with lots of records. This is the portion of code where I am having confusion about!
CODE
while ($i<=$rdb->last_record)
{
my @data = $rdb->get_record($i,"X", "Y"
if($data[2]<20)
{
$comment = "Good"...
Hi I am accessing a dbf file with lots of records. This is the portion of code where I am having confusion about!
while ($i<=$rdb->last_record)
{
my @data = $rdb->get_record($i,"Speed", "Velocity"
if($data[2]<20)
{
$comment = "Good"...
Hey all,
I have a doubt regarding the structure of my loop.
I have a dbf file which has lot of records and fields. I open the dbf file and set the descriptor with this line.
$wdb->set_record($i,$data[1],$data[2]) - from the .dbf file
File Sample.dbf has structure like this
X Y
1 r
1 3
1...
Hey all,
Need help with this problem
1. I have a huge data file which consists of millions of records.
2. There is a chunk column which has chunks of counters in it
Ex -
Chunk Processor
1 1
1 2
1 2
1 3
1 0
1...
Hi I am new to using MIDlets, and I wanted to create a simple TCP client server program.. I found a tutorial in J2me forums and I am able to send a single message from server(PC) to client(Phonemulator) and from client to server. But I want to send a stream of messages to the server. Here is my...
Hi all,
I was trying to solve Battleship puzzle using perl. But I wanna know how to register client..When I checked the other thrift compiler generated files(other languages), client can be registered using Battleship::Client->new($socket)..
But I dont find any such modules in...
Hi all!
i need a simple array help..
For example if my array has (100,0,0,0,0,200,0,0,0,0,0,100) etc..
I wanna read this and populate a new array which would be of the form(100,100,100,100,200,200,200,200,200,100)..zeros will be smoothed out..
Any ideas?
#!C:\perl\bin
#use Date::Day;
use warnings;
use XBase;
my @data7;
my $sum = 0;
my $table = new XBase "Input.dbf";
my $new_table=XBase->create("name"=>"Output.dbf",
"field_names" =>["X", "Y", "SPEED", "BOX", "DATE_","TIME", "TimeDay","DayWeek","Date_Format","TimeStamp"]...
Hi all
I am a perl newbie! And i am confused as to how to use arrays..
After some operation, my @array consists of lotta numbers..when i print @array, I get something like 1111111123448395911111111111245 etc..
I need to count the consecutive ones and store it in an array. Is there anything I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.