Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

the bug! len(space(0))

6 posts in General Discussion (Chinese) Last posting was on 2008-05-09 08:35:42.0Z
sunjie Posted on 2008-04-21 08:56:17.0Z
Sender: 30fc.480c5584.1804289383@sybase.com
From: sunjie
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: the bug! len(space(0))
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <480c56b1.3114.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Apr 2008 01:56:17 -0700
X-Trace: forums-1-dub 1208768177 10.22.241.41 (21 Apr 2008 01:56:17 -0700)
X-Original-Trace: 21 Apr 2008 01:56:17 -0700, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:339
Article PK: 104367

len(space(0)) = ?

in powerbuilder script it get 0
but in datawindow expression it get 1 !
I test in pb 7,pb 10 and pb 10.5

and if you write len(space(-1)) then the pbvm will crash!


qliang Posted on 2008-04-21 10:23:49.0Z
Sender: 31fa.480c637e.1804289383@sybase.com
From: qliang
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: the bug! len(space(0))
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <480c6b35.329e.1681692777@sybase.com>
References: <480c56b1.3114.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Apr 2008 03:23:49 -0700
X-Trace: forums-1-dub 1208773429 10.22.241.41 (21 Apr 2008 03:23:49 -0700)
X-Original-Trace: 21 Apr 2008 03:23:49 -0700, 10.22.241.41
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:342
Article PK: 104365

which pb105 build are you using? no crash in my setup.


sunjie Posted on 2008-04-22 00:33:40.0Z
Sender: 30fc.480c5584.1804289383@sybase.com
From: sunjie
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: the bug! len(space(0))
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <480d3264.469e.1681692777@sybase.com>
References: <480c6b35.329e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Apr 2008 17:33:40 -0700
X-Trace: forums-1-dub 1208824420 10.22.241.41 (21 Apr 2008 17:33:40 -0700)
X-Original-Trace: 21 Apr 2008 17:33:40 -0700, 10.22.241.41
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:343
Article PK: 104366

> which pb105 build are you using? no crash in my setup.
10.5.1 buiid 6667


sunjie Posted on 2008-04-22 00:42:15.0Z
Sender: 30fc.480c5584.1804289383@sybase.com
From: sunjie
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: the bug! len(space(0))
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <480d3467.46c2.1681692777@sybase.com>
References: <480d3264.469e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Apr 2008 17:42:15 -0700
X-Trace: forums-1-dub 1208824935 10.22.241.41 (21 Apr 2008 17:42:15 -0700)
X-Original-Trace: 21 Apr 2008 17:42:15 -0700, 10.22.241.41
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:344
Article PK: 104368


> > which pb105 build are you using? no crash in my setup.
> 10.5.1 buiid 6667

I mean if you write len(space(-1)) in datawindow expression
then the pbvm will crash!


qliang Posted on 2008-04-22 06:26:40.0Z
Sender: 31fa.480c637e.1804289383@sybase.com
From: qliang
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: the bug! len(space(0))
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <480d8520.4bd0.1681692777@sybase.com>
References: <480d3467.46c2.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Apr 2008 23:26:40 -0700
X-Trace: forums-1-dub 1208845600 10.22.241.41 (21 Apr 2008 23:26:40 -0700)
X-Original-Trace: 21 Apr 2008 23:26:40 -0700, 10.22.241.41
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:345
Article PK: 104369

Although using space(-1) seems somewhat strange, dw
shouldn't crash. I think the crash can be fixed easily.


qliang Posted on 2008-05-09 08:35:42.0Z
Sender: 3ddb.48240b75.1804289383@sybase.com
From: qliang
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: the bug! len(space(0))
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48240cde.3e01.1681692777@sybase.com>
References: <480d8520.4bd0.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 May 2008 01:35:42 -0700
X-Trace: forums-1-dub 1210322142 10.22.241.41 (9 May 2008 01:35:42 -0700)
X-Original-Trace: 9 May 2008 01:35:42 -0700, 10.22.241.41
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:354
Article PK: 104380


> Although using space(-1) seems somewhat strange, dw
> shouldn't crash. I think the crash can be fixed easily.

The crash has been fixed.