Post Reply 
HPP-CK Improvement: Overwrite confirmation
03-26-2017, 10:38 PM (This post was last modified: 03-27-2017 06:34 PM by compsystems.)
Post: #1
HPP-CK Improvement: Overwrite confirmation
Hi, I had a backup of a file in a different folder, accidentally I dragged this file to the HPP-CK that previously exists, HPP-CK should display a replacement confirmation pop-up window, currently rewrites without confirmation.
Files with extension (1) or (2) They become [b]unusable. /b] if another file calls internal functions of the same,

I do not know what solution there could be, outside of what I propose in
http://www.hpmuseum.org/forum/thread-8025.html
When two users create a file with the same name

With a new INTERNAL CMD (KEYWORD) HPP-CK would no longer have to replace, else added an extension to differentiate n files with the same name

file1: linearAlgebra.hpprgm
PHP Code:
#INTERNAL vectors
EXPORT main()
...
END

vectors.main() // exe main of vectors

This would not affect old programs, if the compiler can not find the keyword
INTERNAL, takes the name of the file

file: linearAlgebra.hpprgm
PHP Code:
EXPORT main()
...
END
linearAlgebra.main // exe main of linearAlgebra


/////////


Another user could create a file of the same name and HPP-CK would differentiate it by the internal name

file1: linearAlgebra.hpprgm
PHP Code:
#INTERNAL vectors
EXPORT main()
...
END

file2: linearAlgebra.hpprgm
PHP Code:
#INTERNAL abcd
EXPORT main()
...
END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HPP-CK Improvement: Overwrite confirmation - compsystems - 03-26-2017 10:38 PM



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