Post Reply 
File problems due to lack two instructions. #INCLUDED ...
03-30-2017, 02:46 PM (This post was last modified: 03-30-2017 03:03 PM by compsystems.)
Post: #3
RE: File problems due to lack two instructions. #INCLUDED ...
(03-28-2017 06:02 AM)cyrille de brébisson Wrote:  ... the system is not desinged to allow 2 distinct programs to work together. The idea is that each program is independent.
Cyrille

If the function calls, in only one way as the testmenu program with LIBMENU works correctly. Now if I modify my example also works.

Limiting to a single file is very difficult to maintain when the file is too long or contains several functions, "DIVIDE EN VARIOS ARCHIVOS Y FUNCIONES Y VENCERÁS" (spn) is a common phrase in the world of computer programming

file1: prg1.hpprgm
PHP Code:
EXPORT main()
BEGIN
 
return "prg1 main";
END;

EXPORT functionX()
BEGIN
 
return { main };
END

file2: prg2.hpprgm
PHP Code:
EXPORT main()
BEGIN
 
return "prg2_main";
END;

EXPORT functionX()
BEGIN
 
return { mainprg1.main };
END

Now a problem (with TEXBOOK DISPLAY ON) that generates confusion, the path of each program is lost in the history, the complete path must be shown so that in an exposed document (presentation), it is identified to which program belongs.

[Image: history_view_image00.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: File problems due to lack two instructions. #INCLUDED ... - compsystems - 03-30-2017 02:46 PM



User(s) browsing this thread: 1 Guest(s)