[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: 612
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: 175
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: 612
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:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1694

Iain Sharp: 612

Theo Neeskens: 339

gianni: 257

rogerw: 232

istiller: 199

lalitpct: 197

Knut: 175

-GHAN-: 171

sochaz: 165

Member Stats:

Guest Posters: 3

Members: 6286

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2032

Posts: 8749

Newest Members:

Androrimquife, adbotter, KennethHub, MathewBew, Sarma, RichardSmare, Frostseekerquife, Lookeephi, Llberyquife, BrunoTop

Administrators: admin: 23, Adrian Gosbell: 278, diseli: 820, Bob Maier: 3, Nico Peereboom: 62, Michael Rabone: 4, richiet: 406, JanCees: 28