[SOLVED] $putmess | Uniface 9 | Forum


Please consider registering

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
[SOLVED] $putmess
12 May 2017
4:49 pm
Iain Sharp
Forum Posts: 596
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. 

string v_filename

$proc_tracing = <false>
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
Forum Posts: 168
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

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


15 May 2017
11:21 am
Iain Sharp
Forum Posts: 596
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:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1677

Iain Sharp: 596

Theo Neeskens: 333

gianni: 237

rogerw: 228

lalitpct: 195

istiller: 191

-GHAN-: 171

Knut: 168

sochaz: 165

Member Stats:

Guest Posters: 3

Members: 4736

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 1980

Posts: 8555

Newest Members:

LadyEmode, SeoClism, Anatoliilak, eeomidmi, ujuewokiqov, avisecepuz, uwitoxus, ekiaeso, abiluwigueba, RonnieArror

Administrators: admin: 23, Adrian Gosbell: 268, diseli: 786, Bob Maier: 2, Nico Peereboom: 58, Michael Rabone: 4, richiet: 406, JanCees: 25