× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 06/28/2017 04:23:27
PM:
there is just so much more work the programmer has to do in RPG than
other
languages.

here is some javascript code. Think of how much RPG would be needed to
code the same thing.

catLookup_GetHtml( lookupSource, prCatNum, function( htmlText )
{
var elem = $(htmlText) ;

var pos = {
my: "left+50 top+50",
at: "left top",
of: elem
} ;
var parms = { height:500,
title:'Select Product Category',
close: dialog_Close,
width:550, position:pos } ;
$(elem).dialog( parms )
.prev(".ui-dialog-titlebar").css("background","yellow");
}) ;


You might fool some with that, but do you actually know how much
JavaScript code is behind that $ function you threw in there so casually?
We're talking thousands of lines of JavaScript code. You can achieve the
same encapsulation using RPG service programs.


Sincerely,

Dave Clark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.