Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: arun10427
  • Content: Threads
  • Order by date
  1. arun10427

    While loop confusion

    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"...
  2. arun10427

    While loop again!:-( Please help

    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"...
  3. arun10427

    Confusion - While loop

    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...
  4. arun10427

    Adding field/column to a CSV file

    Hey all, Can someone tell me how I could add field/column to a CSV file?
  5. arun10427

    Placing while loop

    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...
  6. arun10427

    Help with MIDlets- TCP Client Server

    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...
  7. arun10427

    Registering client

    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...
  8. arun10427

    Arrays and Perl!

    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?
  9. arun10427

    Client program in perl

    Hi I am writing a client program in perl. Given a host and port how do you connect it from the client?
  10. arun10427

    Program running without errors but cannot see O/P..Please Help!

    #!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"]...
  11. arun10427

    Counting consecutive array elements from array

    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...

Part and Inventory Search

Back
Top