IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Page 1 of 2 1 2 >
Topic Options
#55249 - 09/06/17 08:34 AM Removing Some Line Data via Talk
Gina Godbey Offline
OL User

Registered: 08/16/06
Posts: 93
Loc: Hickory, NC USA
Let's say I have this data and it's variable. The one thing consistent is that at column 86 it begins and it is a line of asterisks (it is a category break line). So, I would like to stop it/make it disappear starting at column 107 to 132. What would the planet press talk code be to do that?

Top
#55250 - 09/06/17 10:16 AM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
What do you wan to stop? what do you want to make diseappear?
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
#55251 - 09/06/17 10:20 AM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Gina Godbey Offline
OL User

Registered: 08/16/06
Posts: 93
Loc: Hickory, NC USA
It is a line of asterisks (*) starting at column 86 and I want to stop showing them beginning on column 107 thru 132.

Top
#55252 - 09/06/17 10:27 AM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
Well you could have 2 data selection on on top of the other. In the first one you show that line completely when it is not asterix.

In the second one, you show up to character 106. Using a condition, you decided which one to use.
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
#55253 - 09/06/17 10:47 AM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Gina Godbey Offline
OL User

Registered: 08/16/06
Posts: 93
Loc: Hickory, NC USA
Well, I'm using talk already as my data selection. Is there a way to use talk to do this?

Top
#55254 - 09/06/17 11:06 AM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
%%Something like that

define(&dataToShow,string,'')

if(@(1,86,90) = '*****')
&dataToShow := @(1,1,106)
else()
&dataToShow := @(1,1,132)
endif()

show(&dataToShow)
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
#55255 - 09/06/17 12:09 PM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Gina Godbey Offline
OL User

Registered: 08/16/06
Posts: 93
Loc: Hickory, NC USA
That still shows the entire line of asterisks.

Top
#55256 - 09/06/17 12:11 PM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
Which part you want to show?
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
#55257 - 09/06/17 12:13 PM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Gina Godbey Offline
OL User

Registered: 08/16/06
Posts: 93
Loc: Hickory, NC USA
only column 86-106. The problem is that it those asterisks could show on any line. But no matter line number, I only want to show column 86-106 of them.

Top
#55258 - 09/06/17 12:23 PM Re: Removing Some Line Data via Talk [Re: Gina Godbey]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
Let make this clear...when you have asterixs on a line, you only want to show that line from column 86 to 106?
When there is no asterixs on the line, what do you wan to show?
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
Page 1 of 2 1 2 >