XmStringByteCompare(3X)XmStringByteCompare(3X)NAME
XmStringByteCompare - A compound string function that indicates the results of a byte-by-byte comparison
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmStringByteCompare (s1, s2)
XmString s1;
XmString s2;
DESCRIPTION
XmStringByteCompare returns a Boolean indicating the results of a byte-by-byte comparison of two compound strings.
In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized in the same language environ-
ment, the compound strings compare as equal. If two compound strings are created with the same (char *) string and the same font list ele-
ment tag set other than XmFONTLIST_DEFAULT_TAG using XmStringCreate, the strings compare as equal.
In some cases, once a compound string is put into a widget, that string is converted into an internal form to allow faster processing.
Part of the conversion process strips out unnecessary or redundant information. If an application then does an XtGetValues to retrieve a
compound string from a widget (specifically, Label and all of its subclasses), it is not guaranteed that the compound string returned is
byte-for-byte the same as the string given to the widget originally. Specifies a compound string to be compared with s2 Specifies a com-
pound string to be compared with s1
RETURN VALUE
Returns True if two compound strings are identical byte-by-byte.
SEE ALSO XmStringCreate(3X), XmStringCreateLocalized(3X)XmStringByteCompare(3X)
Check Out this Related Man Page
XmStringByteCompare(library call) XmStringByteCompare(library call)
NAME
XmStringByteCompare -- A compound string function that indicates the results of a byte-by-byte comparison
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmStringByteCompare(
XmString s1,
XmString s2);
DESCRIPTION
This function is obsolete and exists for compatibility with previous releases. XmStringByteCompare returns a Boolean indicating the
results of a byte-by-byte comparison of two compound strings.
In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized in the same language environ-
ment, the compound strings compare as equal. If two compound strings are created with the same (char *) string and the same font list ele-
ment tag set other than XmFONTLIST_DEFAULT_TAG using XmStringCreate, the strings compare as equal.
In some cases, once a compound string is put into a widget, that string is converted into an internal form to allow faster processing. Part
of the conversion process strips out unnecessary or redundant information. If an application then does an XtGetValues to retrieve a com-
pound string from a widget (specifically, Label and all of its subclasses), it is not guaranteed that the compound string returned is byte-
for-byte the same as the string given to the widget originally.
s1 Specifies a compound string to be compared with s2
s2 Specifies a compound string to be compared with s1
RETURN
Returns True if two compound strings are identical byte-by-byte.
RELATED XmStringCreate(3) and XmStringCreateLocalized(3).
XmStringByteCompare(library call)
Hi,
Is there any limitation on the no of characters to be compared using the if statement in Unix. We had an issue while comparing the following two nos.
var1=20051031222900 & var2=20051101003545. The last six dgits are the time stamp for a day.
The if statement is like this:
if
then
move... (8 Replies)
Hi all,
I am trying to compare two strings/dates, but its throwing error::Syntax error at line 5:
Please help !!
Any alternate way to compare two dates is also fine....
logdate1=`date -u '+%Y.%m.%d %T'`
sleep 5
logdate2=`date -u '+%Y.%m.%d %T'`
if test... (5 Replies)
hi
I have 2 files to comapre ,in file a sible column it is numbers,in file b2 numbers and other values with coma separated.
i want compare numbers in file a with file b,and the out put put should be in C with numbers in both file a and b along with other columns of file b.
i used folowing... (7 Replies)
Hi,
I have a parameter which is a string:
set parameter = "string"
I would like to compare it to various strings inside an IF conditional:
if ($parameter == "string") then
bla bla bla
endif
but it doesn't work, and I have no idea why.
Thanks in advance,
Shira. :) (12 Replies)
hello guyzz
please help me out..
I have two file a.sh and b.sh it contains two string SD109 ,SD108 .
I want to compaere these two string .
If a.sh>b.sh
do rebasing
record time.
else it shows no rebasing required.
Thanks. (2 Replies)
Note: Subject line correction --> any two Alphanumaric strings = any two strings
I am trying to come-up with geneic code, that can give a string between any two given strings in a given line(first occurance). Here input text line can have control characters.
Below code works as long as... (4 Replies)
Hi,
can someone please help me!!! urgent!
I have a strange issue here. I grep for 2 strings from a txt files and compare the string value. Though the string values are the same, they are compared as different values. Please help
Case-1
--------
Here I grep for 2 different field values... (3 Replies)
I want to compare file 1 to file 2 and if a string from file 1 appears in file 2, then print the file 2 row, where the string appears, onto file3.
file 1 looks like this.
DOG_0004340 blah blah2 j 22424
DOG_3010311 blah blah3 o 24500
DOG_9949221 blah blah6 x 35035
file 2 looks like... (5 Replies)
Hello,
Here is my problem using KSH
I have a set of compound variables, let say cmp_var1 cmp_var2
The names of these variables are stored in an indexed array.
How can I access the subfields of these compound variables ?
I tried:
set -A cmp_varnames=(cmp_var1 cmp_var2)
for cmp in... (4 Replies)
The KRB5ALDAP compound load module is giving me fits. Everything looks like it should be working, but no.
Goal: Integrate AIX host with Active Directory using a KRB5ALDAP compound load module so that users can be created in AD and used in AIX, with unix attributes (registry values) being... (2 Replies)
Good morning,
I need compare this string.
if || || ; then
But this line not work, somebody can say me what is the error.
Thank you for advanced. (5 Replies)
Dear all,
I have a database of compound words. I want to retain only strings with a single hyphen and identify those strings which have more than one hyphen. I am giving an example below
test-test
test-test-test
test-test-test-test-test
good-for-nothing
The regex/script should remove all... (11 Replies)
I think there is a way to detect mouse movement.
valuator changes if the mouse moves.
So I need to compare the two strings.
Not sure how to do that.
How could I send the valuator string to a file ?
I would need to do it twice.
andy@7_~/Downloads$ xinput query-state 9
2 classes :... (7 Replies)