![]() |
![]() |
#641 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,307
|
ARexx has three special variables: RC, RESULT and SIGL
Only RESULT must be activate with "OPTIONS RESULTS". Why is it not active by default? I don`t see any benefit. Do they want to save some Ram or any other reason for it? Anyone with an explanation? |
![]() |
![]() |
#642 | |
Registered User
Join Date: Apr 2015
Location: Beauharnois,Qc,Canada
Posts: 227
|
Quote:
|
|
![]() |
![]() |
#643 |
Registered User
Join Date: Apr 2015
Location: Beauharnois,Qc,Canada
Posts: 227
|
Not really a question but a bit of lore. ARexx was Amiga version of Rexx which replaced JCL (a leftover from the good old punch card days) on mainframe. My first job fresh out of college was to translate old JCL reporting software to Rexx for the IBM mainframe division in Montreal. Those were used for banking and ATM processsing. Rexx also came bundled with OS/2 on the PC. I coded some at home on my PC running OS/2 but using the ARexx manual as learning material and everything worked!
|
![]() |
![]() |
#644 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,025
|
Rexx never replaced JCL. JCL is still used in batch jobs and started tasks while Rexx is used for user interface and automation scripting. Rexx cannot run standalone, you need some JCL to call a Rexx program.
|
![]() |
![]() |
#645 |
Registered User
Join Date: Apr 2015
Location: Beauharnois,Qc,Canada
Posts: 227
|
Correct, I misspoke. Blame it on english not being my first language. The rest still applied though.
|
![]() |
![]() |
#646 |
Registered User
Join Date: Oct 2011
Location: Estoril/Portugal
Age: 47
Posts: 115
|
Some people like me still work with JCL and COBOL in banks... after so many years this language still resist. I never worked with Rexx. But Cobol.... oh boy, 17 years so far, and i think i will work with it for the rest of my life. I cannot see Cobol being replace by any other language in banking/mainframe. You can see Java, .net, a lot of languages, but they are just frontends, not really the main core language used by the mainframe. It's a simple language proper to work with financial data and big amounts of data.
|
![]() |
![]() |
#647 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,348
|
Without OPTIONS RESULTS, the result of any function call must be either assigned to a variable or the function must be called with CALL. If you do not do that, the result is sent back to the function host (ARexx) and interpreted. This may not be obvious, but a missed CALL may cause unintended behaviour under certain circumstances.
|
![]() |
![]() |
#648 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
|
One thing that I have never figured out completely is how command arguments are specified on the Amiga. Example from 'format' below.
I assume the character after / specifies the type of argument, e.g. /S for a simple switch, but where can I find the full list of argument types? So it would be possible to see the above argument list from an unknown program and know exactly how to specify all arguments the correct way without trial and error. |
![]() |
![]() |
#649 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,904
|
|
![]() |
![]() |
#650 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,007
|
Also in the official AmigaDOS manuals which you should have got with your computer/OS
![]() Look for the "Template" in the table of contents. You can find it on page 6-8 in AmigaOS 3.1 manual and on page 88 in AmigaOS 3.9 manual, for example. Those official manuals are a good read, I'd recommend them for everyone before they start using their Amigas, and also to refresh the memory later ![]() |
![]() |
![]() |
#651 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
|
Well, I don't think I've ever read that manual to be honest.. But it makes sense that the information would be in there. I've always figured out the arguments eventually, but never thought to look it up once and for all.. Thanks for both answers - then I also learned something today.
![]() |
![]() |
![]() |
#652 | |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,307
|
Quote:
|
|
![]() |
![]() |
#653 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,348
|
I also fail to see a situation where you would want the result to be interpreted, it would be enlightening to see a real-use example.
|
![]() |
![]() |
#654 |
Registered User
Join Date: Sep 2013
Location: Ireland
Posts: 800
|
How do I create a jpeg that I can use as a workbench background? I got a greyscale image from the net and resized it to 1024x768 to match my screen mode. I also reduced it to 8 colours to match my pallette settings.
But at 404kb MultiView tells me there isn't enough memory (in my 8MB 'other' mem) to display it and WBPattern won't set it. |
![]() |
![]() |
#655 |
Registered User
Join Date: Dec 2008
Location: Norwich, UK
Posts: 668
|
Multiview is ok, but I prefer Visage.
http://aminet.net/package/gfx/show/Visage This Gui may also be useful. Yet, I haven't used it. http://aminet.net/package/gfx/show/visgui |
![]() |
![]() |
#656 |
Registered User
Join Date: Sep 2013
Location: Ireland
Posts: 800
|
Thanks Sir_Lucas! I'll check those out. But I still am missing something about formatting the image correctly for a background. I have a bit-depth and resolution matched to my desktop. I even reduced the quality so the size of the file is 11kb - still no joy
![]() |
![]() |
![]() |
#657 |
Zone Friend
Join Date: Jun 2006
Location: Gargore
Age: 44
Posts: 17,789
|
JPG on Amiga and PC may have same extension but format may be different.
|
![]() |
![]() |
#658 |
Registered User
Join Date: Sep 2013
Location: Ireland
Posts: 800
|
Good to know, thanks.
|
![]() |
![]() |
#659 |
AMOS Extensions Developer
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
|
Yes, the .JPG extension itself can contain 1 of 4 (or so) different formats. Not sure which ones the Amiga can handle.
|
![]() |
![]() |
#660 | |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
|
Quote:
![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gamebase Amiga - 2 Questions | Fiery Phoenix | New to Emulation or Amiga scene | 8 | 13 August 2012 12:31 |
Amiga CD32 questions | pubzombie | New to Emulation or Amiga scene | 26 | 24 January 2010 16:27 |
A few general Amiga questions. | Hougham | support.Hardware | 6 | 30 April 2008 22:13 |
Amiga A4000 Questions | mfletcher | support.Hardware | 8 | 29 April 2008 10:51 |
Amiga 600 Questions | JDunlap | support.Hardware | 14 | 20 January 2008 19:13 |
|
|