Re: Puzzle: Converting 1-10 to 1,2,3,4,5,6,7,8,9,10 #2
I'm not sure I can actually do this, but I'll give an approach for doing =
it; I think it could be done in a data step or in IML. Maybe someone =
else can work out the code! =20
1. Take the original string and form a data set that creates an =
observation for each value between the commas:
2. Take that new data set and search for a dash (using INDEX). If not =
found, then output the value. If found, then assign the start value to =
the part to the right of the dash, the ending value to the part to the =
left of the dash, u...ANN: Releases 2.2.1 and 2.2.2 of TclWS (Web Services for Tcl)
Announcing releases 2.2.1 and 2.2.2 of TclWS (Web Services for Tcl).
They are available at http://core.tcl.tk/tclws
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald.Lester@kng-consulting.net |
...Java 1.4.2 Vs 1.5 Vs 1.6 #2
I'm sure this question has been posted but I've not found any
I maintain a product line that consists of a dedicated Linux system
running Java to provide a GUI interface as a control system for
underlying hardware. I've been working to move to jdk 1.5 (not hard
but I'm busy) and now this new DST thing which is not covered by the
version I've been porting to (1.5.0-b64) makes me want to rething
about going to the latest 1.6. It seems every version change had
problems in the beginning and I didn't even try 1.6 because of that.
Now I'm thinking abou...ANNOUNCE: Tcl/Tk 8.4.6 rpm specification with thread 2.5.2 extension #2
-----BEGIN PGP SIGNED MESSAGE-----
Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system.
The rpms install under /opt/tcltk and therefore do not conflict and
peacefully coexist with the stock Redhat Tcl and Tk rpms.
To build the rpms, download the Tcl/Tk 8.4.6 and Thread 2.5.2 sources
from http://download.sourceforge.net/tcl/ into the
/usr/src/redhat/SOURCES/ directory, place the specification file in the
/usr/src/redhat/SPECS/ directory, then from that directory, type:
~ # rpmbuild -bb --clean tcltk-8.4.6-2.spec
Note...Python 2.6.1 + wxPython 18.104.22.168 compiled form source
I have a Red Hat 4.6 machone and I compiled and installed python 2.6.1
Then, I compiled wxPython 22.214.171.124 form source too.
And then, when I try to run it:
Python 2.6.1 (r261:67515, Mar 4 2009, 20:10:49)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Any hint? Anything I am missing? Anyhere to check? Read?
Thanks in advance.
This in my environment:
LD_LIBRARY_PATH=/opt/wxPython/126.96.36.199/lib:/opt/py...Upgrade from VO 1 - 2 - 2..1 -2.2 - 2.3 -2.4 - 2.5 - 2.6 - 2.7
About upgrade 2.5 - 2.7 at $ 384.00
For most products I'm using - the updates (2.0 - 2.1 - 2.7) are free...
2.0 to 3.0 might be worth + 10-30% of the original price?
VO is + full price again & again - Full program price for every minor
I dropped out of the money/bugs [VO] at 2.5 after starting at 1.0 more than
10 years ago.
Certainly whoever is making VO have to make a living; earning moneys: - that
A 10 years old VO site; - 10 years later, how much have changed?
Even MS is not ...Upgrade of Xalan 1.2.2 and Xerces 1.4.4 to Xalan 2.6 and Xerces 2.6.2
I've been tasked with upgrading the JVM from
1.3 to 1.4, and the third party libraries used
by my company on our existing Java framework.
I'm most worried about any problems that may occur
due to upgrading Xalan and Xerces as our framework
performs much XML transformation and processing.
Does anyone have a link to known issues with such
an upgrade (besides the Xalan / Xerces sites) ?
Or has anyone done such an upgrade and can share
their pearls of wisdom?
...Re: Puzzle: Converting 1-10 to 1,2,3,4,5,6,7,8,9,10 #6
All positive ranges?
Thinking about a way to get SAS to do most of the work this is what I
came up with....
7227 %let string = 1-10,21,22,30-35,40,41;
7228 data _null_;
7229 length newstring $256;
7230 do _n_ = %qsysfunc(tranwrd(%superq(string),-,%str( to )));
7231 newstring = catx(',',newstring,_n_);
7233 put 'NOTE: ' newstring=;
On 10/3/08, Paul Walker <email@example.com> wrote:
> What is the best way to convert a string like 1-10 to a string ...Re: Puzzle: Converting 1-10 to 1,2,3,4,5,6,7,8,9,10 #8
You program does not work "the first time" becasue NUMSTR does not exist.
7235 Data _Null_;
7236 Length NewString $ 200 ;
7237 String = '1-10,21,22,30-35,40,41' ;
7240 call execute ( "proc format; value numstr " ||
7241 String ||
7242 " ='Nums'; run ;");
7244 Do _K = input(Scan( String , 1 , ',-' ),best12.) To
7245 input(Scan( String , -1 , ',-'),best12.);
7246 if put(_K,numstr.)='Nums' then
NOTE 48...XCode (2.4.1) Linking issue, wx 2.8.6, OS X 10.4.10, GCC4.0
Platform: Mac mini - intel dual core.
I'm working through the examples in the "Cross-Platform GUI Programming
with wxWidgets" books and I'm stuck on an XCode linking issue.
The demos on the base wxMac code base build and work fine. So I know
it's the XCode setup. I can't find the entry where the libraries are
I've setup XCode using the wx-config --cxxflags and wx-config --libs
When building the minimal code example in chapter two, the build
completes and goes to the link stage where:
"Linking /Volumes//u01/work/wx - example...[ace-bugs] FW: building ACE 6.2.0/6.2.2 win XL C/C++ v12.1 on AIX7.1 results in compiler error when instantiating ace templates
Content-Type: text/plain; charset="us-ascii"
Subject: [area]: [synopsis]
ACE VERSION: 6.2.2
HOST MACHINE and OPERATING SYSTEM:
TARGET MACHINE and OPERATING SYS...Upgrading from 188.8.131.52 to 2.8.9
[Please do not mail me a copy of your followup]
We have an older application that works fine when built against 184.108.40.206.
When we tried upgrading to a newer version (2.8.6 is what we tried), it
messed up our GUI.
What should I be looking for as the likely culprit in our code?
Is there a way I can see a CHANGELOG type file for wxWidgets to see what
changes have been made between 2.6.2 and 2.8.9? Thanks!
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
...problems compile apache 2.2.8 under AIX 6.1
I am trying to compile apache 2.2.8 with gcc 4.0.0 under AIX. I have
no idea why it fails. The configure runs fine without any errors, but
the make always fails. I've already tried to use gcc 4.2.2 without
here the output of make:
Making all in srclib
Making all in apr
/bin/sh /image/httpd-2.2.8/srclib/apr/libtool --silent --
mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -
I./include -I/image/httpd-2.2.8/srclib/apr/include/arch/unix -I./
include/arch/unix -I/image/httpd-2.2.8/srclib/apr/include -o passwd/
apr_getpass.lo -c passwd/apr_get...Rere: cppunit 1.8.0
I got exactly the same error when translating cppunit 1.9.10 with SuSE
9.0 and gcc 3.3.1 (I believe - I am here on a different system right
now). I hoped it would run immediately, as usualy it does with
../configure, make, make install. I will investigate the problem this