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.

Small PB example for IDLE() (Urgent)

5 posts in Powerscript Last posting was on 2009-12-03 01:46:52.0Z
Jenny Posted on 2009-12-01 11:03:32.0Z
Sender: 4515.4b14f6bc.1804289383@sybase.com
From: Jenny
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Small PB example for IDLE() (Urgent)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b14f804.4540.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 1 Dec 2009 03:03:32 -0800
X-Trace: forums-1-dub 1259665412 10.22.241.41 (1 Dec 2009 03:03:32 -0800)
X-Original-Trace: 1 Dec 2009 03:03:32 -0800, 10.22.241.41
Lines: 10
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27186
Article PK: 761753

Hi All,

Iam new to PowerBuilder.
I am using PB 11, can anyone give me very small PB example
which demonstrate IDLE() ( not event) of PowerBuilder.
I tried couple of example but I am not able to get it
correctly.

Thanks
Jenny


Jenny Posted on 2009-12-02 13:43:38.0Z
Sender: 6d20.4b166c78.1804289383@sybase.com
From: Jenny
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Small PB example for IDLE() (Urgent)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b166f0a.6d5a.1681692777@sybase.com>
References: <4b14f804.4540.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Dec 2009 05:43:38 -0800
X-Trace: forums-1-dub 1259761418 10.22.241.41 (2 Dec 2009 05:43:38 -0800)
X-Original-Trace: 2 Dec 2009 05:43:38 -0800, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27194
Article PK: 761757

Still waiting for some example... can any one help me?

> Hi All,
>
> Iam new to PowerBuilder.
> I am using PB 11, can anyone give me very small PB example
> which demonstrate IDLE() ( not event) of PowerBuilder.
> I tried couple of example but I am not able to get it
> correctly.
>
> Thanks
> Jenny


Scott Morris Posted on 2009-12-02 13:53:40.0Z
From: "Scott Morris" <bogus@bogus.com>
Newsgroups: sybase.public.powerbuilder.powerscript
References: <4b14f804.4540.1681692777@sybase.com> <4b166f0a.6d5a.1681692777@sybase.com>
Subject: Re: Small PB example for IDLE() (Urgent)
Lines: 5
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b167164$1@forums-1-dub>
Date: 2 Dec 2009 05:53:40 -0800
X-Trace: forums-1-dub 1259762020 10.22.241.152 (2 Dec 2009 05:53:40 -0800)
X-Original-Trace: 2 Dec 2009 05:53:40 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27195
Article PK: 761758

The purpose of the idle function is to trigger the idle event. If you don't
intend to code the event, the function serves no purpose. Did you look at
the Help information for these two items?


Jeremy Lakeman Posted on 2009-12-03 01:46:52.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Small PB example for IDLE() (Urgent)
Date: Wed, 2 Dec 2009 17:46:52 -0800 (PST)
Organization: http://groups.google.com
Lines: 18
Message-ID: <73580ac0-1b8c-4309-b74e-767982ef94e5@f10g2000vbl.googlegroups.com>
References: <4b14f804.4540.1681692777@sybase.com> <4b166f0a.6d5a.1681692777@sybase.com>
NNTP-Posting-Host: 219.90.235.209
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1259804812 15903 127.0.0.1 (3 Dec 2009 01:46:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 3 Dec 2009 01:46:52 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f10g2000vbl.googlegroups.com; posting-host=219.90.235.209; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!f10g2000vbl.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27199
Article PK: 761760

Because it feels like you're asking us to do your homework for you,
and it doesn't sound like you've even read the help page for the
method.

On Dec 2, 11:43 pm, Jenny wrote:
> Still waiting for some example... can any one help me?
>
> > Hi All,
>
> > Iam new to PowerBuilder.
> > I am using PB 11, can anyone give me very small PB example
> > which demonstrate IDLE() ( not event) of PowerBuilder.
> > I tried couple of example but I am not able to get it
> > correctly.
>
> > Thanks
> > Jenny


Chris Keating (Sybase iAnywhere) Posted on 2009-12-02 13:58:04.0Z
From: "Chris Keating (Sybase iAnywhere)" <keating_nospam@sybase.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Small PB example for IDLE() (Urgent)
References: <4b14f804.4540.1681692777@sybase.com> <4b166f0a.6d5a.1681692777@sybase.com>
In-Reply-To: <4b166f0a.6d5a.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b16726c$1@forums-1-dub>
Date: 2 Dec 2009 05:58:04 -0800
X-Trace: forums-1-dub 1259762284 10.22.241.152 (2 Dec 2009 05:58:04 -0800)
X-Original-Trace: 2 Dec 2009 05:58:04 -0800, vip152.sybase.com
Lines: 18
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27196
Article PK: 793613

int numSecsInactivity

// set application inactivity timeout
Idle(numSecsInactivity)

Jenny wrote:
> Still waiting for some example... can any one help me?
>
>> Hi All,
>>
>> Iam new to PowerBuilder.
>> I am using PB 11, can anyone give me very small PB example
>> which demonstrate IDLE() ( not event) of PowerBuilder.
>> I tried couple of example but I am not able to get it
>> correctly.
>>
>> Thanks
>> Jenny