|
rpg400-l-request@xxxxxxxxxxxx wrote: > 7. Re: Free-format RPG (James Rich) > >What if you call dump embedded sql altogether and just call sql >statements? For example, tell me if you like this any better (all code >here is free format): > > if outBanana > squidgyNumber; > sql_run_statement('INSERT INTO monkeyeat VALUES(' + > %editc(outBanana:'3') + ')'); > > // Check SQL return code > if (sql_error()); > handleSQLErr(); > endif; Whoa... that looks _very_ much like some of my own SQL CLI programs' code! Tom Liotta -- -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
As an Amazon Associate we earn from qualifying purchases.
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.