Op Mon, 17 Oct 2016 01:45:41 +0200 schreef pjwitte <pjwi...@online.no>:

There doesnt seem to be an easy way to check the Qpac2 version; at
least nothing standard to determin the language. In SBASIC a heuristic
approach may be the simplest:

100 IF HOT_TYPE("button_sleep") = 4 THEN
110  EXEP 'button_sleep'
120 ELSE : IF HOT_TYPE("button_schlaf") = 4 THEN
130  EXEP 'button_schlaf'
140 ELSE : IF HOT_TYPE("button_xxxx") = 4 THEN
150  EXEP 'button_xxxx'
160 ELSE: PRINT 'Not found'
180 :

The keyword HOT_TYPE is built into SMSQ/E and hot_rext, and returns
err_nf if the named Thing is not present. What Id still like to know
is what other button_xxxx'es there are out there. Anyone?

The Button Frame Thing appears to be called "Button Frame" in all
languages. The sources are in among the SMSQ/E sources, although the
binary is not part of the OS but comes with Qpac2. The Button Frame is
also mentioned in the latest version of the SMSQ/E Guide. No mention
there of language differences.

The "Button Frame" is marked in the Thing list as UTIL, not an EXEC Job so the language of the name seems irrelevant. BUTTON_SLEEP/_SCHLAF is the only exception as far as QPAC2 Buttons are concerned.

I don't know Tobias's BSLEEP tool but there is also Jochen's BTFRAME to make use of the QPAC2 Frame and control your button. The bin is only 286 bytes but you need some extra S*Basic lines.
(It's on QLT CDv7i5 and probably the later ones.)


The BSJR QL software site at: "http://members.upc.nl/b.spelten/ql/";
QL-Users Mailing List

Reply via email to