|
On May 26, 2020, at 3:27 AM, Patrik Schindler <poc@xxxxxxxxxx> wrote:
Hello Jon,
Am 25.05.2020 um 22:35 schrieb Jon Paris <jon.paris@xxxxxxxxxxxxxx>:
"Could these two listed program entry points possibly harm? Because it's two instead of one? The rest of the RPG program runs fine (as long as I don't call pw_rand)."
If you create the C as a *PGM with a main() then two is what I would expect. However I don't think it should matter. You are binding at the *MODULE level and the bind wouldn't work if it couldn't see pw_rand.
Thanks for clarification!
I'll grab the save file if I have time and take a look.
Thank you in advance!
By the way ... you do know that MOVE is a deprecated opcode and has been for 15 years or so? If you must code fixed format <yuck> then use Eval for the assignment.
Please don't make me arguing with you about deprecation of stuff which proved to work for decades. :-)
:wq! PoC
PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.