Hi - can any one let me know how to re-arrange the columns of a comma seperated file. The problem here is that the colums some times have new lines and when the columns has new lines or extra comma's then it is enclosed in double quotes("). Can any one tell me how to re-arrange the columns now.
... (0 Replies)
Hi all,
I have a data file and need to load the data into tables in a database. The problem is I cannot use a while loop with each line as the data is free text and has all kinds of weird characters including carriage returns and new line characters.
Each column is separated by ~^~ and a new line... (2 Replies)
Hi all,
i have an xml file with this fomat(exactly) :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE TestSuite SYSTEM "../../CallCrt.dtd">
<TestSuite description="Diameter">
<FileReference FileName="DMI_FC01.xml"/>
<!--<FileReference FileName="DMI_FC02.xml"/>
-->... (1 Reply)
Hi,
I am trying to read 2 files and writing to the 3rd file if I find the same elements in 2 files. my first file is
1 0 kb12124819 766409 1.586e-01
1 0 kb17160939 773886 8.674e-01
1 0 kb4475691 836671 8.142e-01
1 0 ... (2 Replies)
Hello this is the script Im working on
I have a picture collection that I rescued from a hard drive and there are thousands of pictures saved in one folder. What I need is to create several folders and put lets say around 200 pictures in each folder.
At the end instead of having one huge... (8 Replies)
Hi All,
I would like to ask help on how can i achieve below output.
Inputfile:
Oct11,apa1-daily,01:25:01
Oct11,apa2-daily,01:45:23
Oct12,apa1-daily,02:30:11
Oct12,apa2-daily,01:55:01
Oct13,apa1-off,01:43:34
Oct13,apa2-off,01:22:04
Desired output:
Clients ... (3 Replies)
I want to put one xml record in one row and so on...
sample two records are here.
<?xml version="1.0"?>
<Object>
<Header>
<XCOMVers>V1.0</XCOMVers>
<REPORT>XXXXX</REPORT>
<CODE>002</CODE>
</Header>
<IssueCard>
<Record>
<L>CAR SYSTEM -SSSSS -</L>
... (1 Reply)
I want to put one xml record in one row and so on...
sample two records are here.
<?xml version="1.0"?>
<Object>
<Header>
<XCOMVers>V1.0</XCOMVers>
<REPORT>XXXXX</REPORT>
<CODE>002</CODE>
</Header>
<IssueCard>
<Record>
<L>CAR SYSTEM -SSSSS -</L>
... (3 Replies)
Hi friends
please help me on below,
i have 5 files like below
file1 is
x 10
y 20
z 15
file2 is
x 100
z 245
file3 is
y 78
z 23
file4 is
x 100 (3 Replies)
Discussion started by: siva kumar
3 Replies
LEARN ABOUT PHP
datas
datas(3U) InterViews Reference Manual datas(3U)NAME
ColorData, GSData, MobilityData, MoveData, VoidData - Data subclasses for storing common undo information
SYNOPSIS
#include <Unidraw/Commands/datas.h>
DESCRIPTION
The Unidraw library predefines several Data subclasses for storing common undo information: ColorData stores two PSColors (usually repre-
senting foreground and background colors), while GSData stores a complete set of graphics state in a FullGraphic object. MobilityData
stores the mobility and graphics state information needed to undo a change in mobility. MoveData stores a horizontal and vertical distance.
VoidData stores a void pointer as a useful alternative to deriving trivially from Data just to store one word of information.
COLORDATA PUBLIC OPERATIONS
ColorData(PSColor*, PSColor*)
Create a ColorData instance, supplying the PSColor objects it stores.
GSDATA PUBLIC OPERATIONS
GSData(Graphic*)
Create a GSData instance, supplying the Graphic object from which to copy a complete set of graphics state. The GSData constructor
copies this information into its _gs member, from whence it can be retrieved later.
MOBILITYDATA PUBLIC OPERATIONS
MobilityData(Mobility, Graphic*)
Create a MobilityData instance, supplying the mobility and a Graphic object from which to copy a complete set of graphics state.
The MobilityData constructor copies the graphic into its _gs member, from whence it can be retrieved later.
MOVEDATA PUBLIC OPERATIONS
MoveData(float, float)
Create a MoveData instance, supplying two floating point numbers that normally represent horizontal and vertical movement.
VOIDDATA PUBLIC OPERATIONS
VoidData(void*)
Create a VoidData instance, supplying a pointer to an object of unknown type.
SEE ALSO Data(3U), Graphic(3U), globals(3U)Unidraw 24 January 1991 datas(3U)