From: Barry Brevik [mailto:[EMAIL PROTECTED]
Yeah. I'm working on some code I inherited. I was banging my
head trying to figure out why the author setup his array
'backwards'. Maybe *I'm* backwards, and that is a legitimate
technique, but my brain does not want to go there.
I think
From: Alfke, Colin [mailto:[EMAIL PROTECTED]
Please note two things:
1. The resulting list (in this case) has only unique dates -
it strips the duplicates
Bzzt!
LOCATE(THIS.DATE,NEW.DATES,1;PTR;'AR') ELSE NULL
NEW.DATES = INSERT(NEW.DATES,1,PTR,0,THIS.DATE)
No matter what, THIS.DATE
From: Shawn Waldie [mailto:[EMAIL PROTECTED]
Thank you for your thoughts, gentlemen.
This is what I wrote before the suggestions reached me:
WRITELIST XL.NEW.LIST ON X.SAVEDLIST
EXECUTE X.SORT.SAVEDLIST
GETLIST X.SAVEDLIST TO 1 THEN
READLIST XL.SORTED.DATES FROM 1 ELSE
DATA
-Original Message-
From: Chauhan, Savita [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 10:24 AM
To: [EMAIL PROTECTED]
Subject: [U2] Unidata - emulate enter key
Hi,
I am working on UniData and want to emulate the user pressing
the 'Enter' key.
I want to
Seems like every pick programmer has written their own TCL replacement :-)
Mine is at:
http://www.pickwiki.com/cgi-bin/wiki.pl?TclStack
Though it seems like a lot of trouble if the only problem is .S leaving
null items in the VOC. Wouldn't a cron job, or something in the login
script that
If your system doesn't have the stat or fstat command, this small program
may do:
#include sys/stat.h
main(int argc,char**argv) {
struct stat buf;
char d[256];
stat(argv[1],buf);
strftime(d, sizeof(d), %D, localtime(buf.st_ctime));
printf(%s\n, d);
}
(error checking removed)
year.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 7:35 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] [Unix] creation date/time
Ian McGowan wrote:
If your system doesn't have the stat or fstat command,
this
small program
st_atime is the date/time the file was last accessed.
Nobody has yet suggested using this information Karl. ls
will report st_atime if you use the -u option ls -lu.
Presumably u is for used since -a was already
allocated a meaning.
And since this is basically useless information and
From: Richard Sammartino [mailto:[EMAIL PROTECTED]
Tony, I have experienced the same issues and I don't think there is a
solution. Our menu is a cataloged program which chains or
executes other cataloged programs.
I don't know about the performance impact, but a TCL stacker program has
A common cause of long delays when first connecting is reverse dns lookups.
Your PC is 192.168.1.100 and you're telneting to a server. It does a lookup
of 192.168.1.100 to record the host name and it can take a while for dns to
come back that it doesn't exist. The dns query is cached, so
From: Hruby, Paul [mailto:[EMAIL PROTECTED]
FileOne has a Muli-value Attribute1 that contains a list of items.
FILEONE
ID= 12345
KEYTWO= 001^002^003
FileTwo's ID is comprised of FileOne's ID and FileOne Attribute1
(KEYTWO)example:
FILETWO
ID= 12345*001
ID= 12345*002
From: Glenn Herbert [mailto:[EMAIL PROTECTED]
Ahhh, forgot about that one, though I think that the SUBR
isn't actually
necessary since the DICT compiler (cdict) recognizes
SPLICEdirectly (though
the SUBR version does work):
SPLICE(REUSE(@ID),REUSE(*),FILETWO)
SPLICE is very nifty.
From: djordan [mailto:[EMAIL PROTECTED]
I occasionaly need to edit a type 1 file of around 30-50
megabytes. The problem is most editors want to load the file
into memory before working on it. Does anyone know an editor
that would handle big files like this
Emacs can handle 128MB files
From: Don Verhagen [mailto:[EMAIL PROTECTED]
Speaking of Textpad. I use this. Does anyone have a syntax
file for UD using Textpad?
There's one for UV and Pick at
http://www.textpad.com/add-ons/synu2z.html
http://www.textpad.com/add-ons/synn2t.html
Both are fine in the light testing I've
From: Carolina Lizama [mailto:[EMAIL PROTECTED]
I need to access Oracle from UniVerse using a Basic program.
I am thinking of 2 Options.
1. Through ODBC - I am not sure whether it will be possible
at all. Whether the UniVerse ODBC driver comes along with the
basic Universe package.
Need to take month mod 12, when adding...
D=20040203
Y=D[1,4]
M=D[5,2]
M+=1
IF M12 THEN M=1;Y+=1
NEXT.M=ICONV(M:/01/:Y,D4/)-1
PRINT OCONV(NEXT.M,D4Y):OCONV(NEXT.M,DM):OCONV(NEXT.M,DD)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Marco Manyevere
From [EMAIL PROTECTED]
George, do you, or would you be willing to, have your code up
on the pickwiki ?
Not to discourage anyone from posting on pickwiki, but Glen's
new site http://mvdevcentral.com/ has much better support
for code submissions - the wiki format doesn't really lend
itself
EXECUTE !wc -l :PATH.TO.FILE CAPTURING NUM.LINES ;* or is is PCPERFORM on
uv?)
You *must* loop thru the file to get the number of lines, but at least this
way you are looping in a compiled rather than interpreted language...
Ian
-Original Message-
From: [EMAIL PROTECTED]
Ouch. Granted my function opens a file and [currently, for
debug] prints to the screen, but attempting to call it with
SUBR from an I-Descriptor caused... '25945 Bus error' and
left the session unresponsive.
I don't get the example as posted - seems like F.FILE doesn't get saved
anywhere
Is there a way to print PDF files from AIX using a command
from UniData?
If you have a postscript printer you could always use pdf2ps to convert to
ps and then print that. There's probably a creative way to convert from ps
to pcl if you don't have postscript printers. Probably need
The printers are connected to the network JetDirect cards,
and some of them are old (e.g., HP 4+). I don't know how to
use cat to send data to an IP address, or I would have tried
that.
OT for the original question, but netcat [1] can do this handily.
#cat file | nc 192.168.1.1 9100
[1]
How can I find out which version I am running?
Run VERSION from TCL (aka the colon prompt, aka ECL)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
22 matches
Mail list logo