infor.com
concierge
infor u
developer portal
Home
Groups
FACTS - Partner Community
Question wih character programming in FACTS 7.7.4
dhalon
Hi ....I have a programming question specific to FACTS 7.7 and providx.
I have a straight character program - there is a title line and the next 3 lines are basic input lines. In a nutshell when you enter this program from the menu - it is a blank screen. Apparently as I understand it this is a 7.7 driver situation. It was suggested I place a line print 'show'(3) up front - I have done this and it does indeed then print my title at the top - but when it gets to the first input line - it does not print to the screen and just sits there waiting for the input and so on and so forth. I have tried adding print 'show' (3) before and after my input line and have also tried various combinations of print 'show' (2) and print 'show' (4) with no luck.
I really do not want to restructure this code in the meta data - it should not be necessary as there are several FACTS programs still running in straight character code.
Can someone help ?
Thanks, Donna
Find more posts tagged with
Comments
kevenh
Try this at the beginning of your program. It has worked for us:
print 'goto'(0),'show'(1),
dhalon
Hi
print 'goto'(0),'show'(1), worked great in that it displayed the title and the first input line but then blank for the subsequent input line...sits there and waits for input but no display.
I can try entering this line for all input lines ?
I really appreciate the response. Let me know if there is more I can do.
Donna
Eddy Vittini
Donna,
I had success adding this to the program UTPCOP (SMPRMT copy from 7.5) that displayed the input edit values on the screen:
0120 print 'textwdw'(0,0,80,24,"SMPRMT COPY PROGRAM")
You can supply whatever program name description you want on the text plane.
Good luck,
Bob
skyler-williams
I had a problem with white screen running the old UTPCOP program from WindX. To fix it, I added the code:
0045 print 'window'(0,0,80,24)
0050 print 'BK','blue','default','white','default'
Then I could see the prompts and the characters I was typing.
Also, for old style progress indicators, or if things just don't display as they should use:
'BE','+U',;wait 0
at then end of the print statement. My experience is the wait 0 is essential for this to work, and will not work by itself, neither will the mnemonics work by themselves.
Legacy Contributor
Try this:
print 'SHOW'(3),'+U',
--Ken
0712131256598360.doc
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
FAQs, How-To, and Best Practices
API Usage