$putmess | Uniface 9 | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
$putmess
12 May 2017
4:49 pm
Avatar
Iain Sharp
Member
Forum Posts: 591
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

In a menu option I have the following code, designed to output proc tracing previously turned on by the user, so we can do some performance tuning. 

variables
string v_filename
endvariables

$proc_profiling=0
$proc_tracing = <false>
$proc_tracing_addition=””
filebox/save “*.txt”
v_filename = $result
lfiledump $putmess,v_filename
$putmess = “”

 

Whilst the message frame is empty when viewed, and when $putmess is viewed in the debugger, there’s noting in it, repeated use of turning this on and off again shows the original info in the output file with the new stuff appended (even if the filename is new, so the lfiledump $putmess is outputting all the information). 

Is this right? The documentation states that $putmess=”” clears the message frame. 

12 May 2017
9:04 pm
Avatar
Knut
Member
Forum Posts: 162
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

just curious – I presume you’ve tried “clrmess”??

Knut

15 May 2017
11:21 am
Avatar
Iain Sharp
Member
Forum Posts: 591
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

No I hadn’t. I have now, and this does indeed appear to clear the data so it is not saved again. 

 

I was confused by the statement in the documentation that 

  • If a null string is assigned, the message frame is cleared.

And assumed that was how the message frame was cleared, 

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1676

Iain Sharp: 591

Theo Neeskens: 331

rogerw: 226

gianni: 220

lalitpct: 194

istiller: 182

-GHAN-: 171

sochaz: 165

Knut: 162

Member Stats:

Guest Posters: 3

Members: 3356

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 1946

Posts: 8404

Newest Members:

LesliePaimi, RonnieChast, EdB, Davidrof, Swimmerchola, Vikadions, vondes, Marilynheed, HowardKer, JamesHoofs

Administrators: admin: 23, Adrian Gosbell: 265, diseli: 746, Bob Maier: 2, Nico Peereboom: 55, Michael Rabone: 4, richiet: 406, JanCees: 24