I have a global screen function that refuses to output any help messages.
The function has fields with normal help messages on FLDSPEC (@HMSG) but the corresponding records on MSGF (@MSGEH = 'H', @MSGSQ = @LSRSQ) have @MSGTX blank.
If I manually (outside @MOD/@MODX) edit these records to have a message of my own choosing and re-gen, then the message still doesn't appear.
It looks like this function has got itself in a knot. Does anyone know of any reason why this may be ocurring?
Ta.
Tony.
- ProIV Resource Centre
- → Viewing Profile: Topics: tclulow
Community Stats
- Group Members
- Active Posts 37
- Profile Views 7,314
- Member Title Member
- Age 68 years old
- Birthday September 9, 1956
-
Gender
Male
-
Location
Cambridge
Previous Fields
-
First Name
Tony
-
Surname
Clulow
-
Nationality
British
-
Year Started ProIV
1987
-
Highest ProIV Version Used
5.5
-
Company Working For
Pentad Technology
-
Companies Worked For
Pro-Lab
MDIS
SystemWare
Tieto (Ex Attentiv, ex Lynx, ex CVC)
0
Neutral
User Tools
Friends
tclulow hasn't added any friends yet.
Latest Visitors
Topics I've Started
MSGF anomaly
18 May 2006 - 03:06 PM
Error: Subscript out of range
09 May 2006 - 03:59 PM
Downloaded version 0.1.52
Tried to open a function using "CSV load" and got a warning that my "server" version was 0.29 and this client requires 0.30.
Acknowledged that and got:
Error: Subscript out of range
Procedure: Procedures.DecodeFLDSPEC("S",0)
Line: 100
Version: 0.1.52 Beta
Acknowledged that and app closed.
Tony.
Tried to open a function using "CSV load" and got a warning that my "server" version was 0.29 and this client requires 0.30.
Acknowledged that and got:
Error: Subscript out of range
Procedure: Procedures.DecodeFLDSPEC("S",0)
Line: 100
Version: 0.1.52 Beta
Acknowledged that and app closed.
Tony.
Array global parameters
08 May 2006 - 02:36 PM
Has anyone successfully passed a scratch (or file) array to a global function?
It seems to be broken here (version 5.5).
Global function has parameters:
which can reference the array and GENs fine.
Calling function has interface:
And logic 000:
And logic 010:
I've tried parameter type 'I', 'O' and 'B' and also using '$ARRAY()' in place of '$ARRAY' in the interface.
Mostly I get:
057 - INVALID USE OF SUBSCRIPTED VARIABLE - $_ARRAY
If I use $_ARRAY() then the function GENs but doesn't call the global function.
Any help?
Thanks,
Tony.
It seems to be broken here (version 5.5).
Global function has parameters:
PARAMETER VARIABLE ARRAY SEQ TYPE VARIABLE NAME TYPE LEN SIZE --- --------- -------------------------------- -------- --- ----- 001 E $_ARRAY A 2 100
which can reference the array and GENs fine.
Calling function has interface:
SEQ TYPE PARAMETER MAP TO --- ---- -------------------------------- -------------------------------- 001 E $_ARRAY $_ARRAY
And logic 000:
LNE ST ----------------------- S T A T E M E N T -------------------------- 001 DEFINE $_ARRAY(100, 2)
And logic 010:
007 GLOBAL_LSCALL(GLOBFUNC,INTF)
I've tried parameter type 'I', 'O' and 'B' and also using '$ARRAY()' in place of '$ARRAY' in the interface.
Mostly I get:
057 - INVALID USE OF SUBSCRIPTED VARIABLE - $_ARRAY
If I use $_ARRAY() then the function GENs but doesn't call the global function.
Any help?
Thanks,
Tony.
Test Avatar
14 June 2005 - 10:18 AM
Test Avatar
Bad field painting with global screens
28 April 2005 - 02:16 PM
Anybody seen this?
An ordinary screen function paints it's fields (4 in this case).
It calls a global screen that has 7 fields painted much further down the screen.
(Global screen has 1 LS, that doesn't "Clear screen")
The values of the first 4 fields in the global screen are painted over the 4 fields of the main screen, and remain blank in the global screen.
The other 3 fields are painted correctly.
Niether function is at all complex, and although I'm using a parameter on the GLOBAL_LSCALL(), the problem is reproducible with no parameters.
It seems if the global screen sets the "clear screen" flag, then all 7 fields are painted correctly, but of course the main screen's fields (and all the prompts too) are removed.
Pro-IV v5.5, r524
Help.
This feels like version 1.2.
Tony.
An ordinary screen function paints it's fields (4 in this case).
It calls a global screen that has 7 fields painted much further down the screen.
(Global screen has 1 LS, that doesn't "Clear screen")
The values of the first 4 fields in the global screen are painted over the 4 fields of the main screen, and remain blank in the global screen.
The other 3 fields are painted correctly.
Niether function is at all complex, and although I'm using a parameter on the GLOBAL_LSCALL(), the problem is reproducible with no parameters.
It seems if the global screen sets the "clear screen" flag, then all 7 fields are painted correctly, but of course the main screen's fields (and all the prompts too) are removed.
Pro-IV v5.5, r524
Help.
This feels like version 1.2.
Tony.
- ProIV Resource Centre
- → Viewing Profile: Topics: tclulow
- Privacy Policy