English Amiga Board


Go Back   English Amiga Board > Main > Nostalgia & memories

 
 
Thread Tools
Old 09 November 2015, 15:05   #641
daxb
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?
daxb is offline  
Old 09 November 2015, 20:40   #642
Nosferax
Registered User
 
Join Date: Apr 2015
Location: Beauharnois,Qc,Canada
Posts: 227
Quote:
Originally Posted by quarkx View Post
Again, I too would say "don't".
if you sell it later, ANY mod actually hurts the resale Value of any Amiga, as 90% of buyers will demand as close to factory as possible.
Even so called "towered" units are Much Much harder to sell, unless they have something like a Mediator board.
"painted" units also are harder to sell, and don't get me on the topic of how many CD TV keyboards were butchered just so idiots could have black keys on their Amiga's. They should ALL be hunted down and shot!
Don't want to necropost buut for those looking to do an A500 in a PC case... You could always try to hunt one of the elusive Bodega Bay from California Access.
Nosferax is offline  
Old 09 November 2015, 21:15   #643
Nosferax
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!
Nosferax is offline  
Old 09 November 2015, 22:26   #644
thomas
Registered User
 
thomas's Avatar
 
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.
thomas is offline  
Old 10 November 2015, 16:47   #645
Nosferax
Registered User
 
Join Date: Apr 2015
Location: Beauharnois,Qc,Canada
Posts: 227
Quote:
Originally Posted by thomas View Post
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.
Correct, I misspoke. Blame it on english not being my first language. The rest still applied though.
Nosferax is offline  
Old 10 November 2015, 18:33   #646
Tiago
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.
Tiago is offline  
Old 11 November 2015, 12:47   #647
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,348
Quote:
Originally Posted by daxb View Post
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?
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.
idrougge is offline  
Old 11 November 2015, 12:58   #648
demolition
Unregistered User
 
demolition's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	format.png
Views:	190
Size:	3.2 KB
ID:	46199  
demolition is offline  
Old 11 November 2015, 13:25   #649
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,904
Quote:
Originally Posted by demolition View Post
where can I find the full list of argument types?
Why, the style guide of course. :-)

http://wiki.amigaos.net/wiki/UI_Style_Guide_Shell
Jope is offline  
Old 11 November 2015, 14:18   #650
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
Quote:
Originally Posted by demolition View Post
but where can I find the full list of argument types?
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
jPV is offline  
Old 11 November 2015, 14:23   #651
demolition
Unregistered User
 
demolition's Avatar
 
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.
demolition is offline  
Old 11 November 2015, 15:06   #652
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,307
Quote:
Originally Posted by idrougge View Post
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.
Sorry, I don`t see the context regarding my question. Some functions (mostly external ARexx interfaces) send returns only to RESULT and without OPTIONS RESULTS you don`t get the results. All other functions need to be assigned to a variable or called with CALL (if you don`t care about results) as you wrote. My question was why OPTIONS RESULTS isn`t active by default? If there isn`t a disadvantage or a situation where it must be disabled.
daxb is offline  
Old 11 November 2015, 15:48   #653
idrougge
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.
idrougge is offline  
Old 16 November 2015, 17:41   #654
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	koala.jpg
Views:	212
Size:	403.7 KB
ID:	46268  
TenLeftFingers is offline  
Old 16 November 2015, 19:08   #655
Sir_Lucas
Registered User
 
Sir_Lucas's Avatar
 
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
Sir_Lucas is offline  
Old 16 November 2015, 19:27   #656
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
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
TenLeftFingers is offline  
Old 16 November 2015, 19:44   #657
s2325
Zone Friend
 
s2325's Avatar
 
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.
s2325 is offline  
Old 16 November 2015, 19:52   #658
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 800
Good to know, thanks.
TenLeftFingers is offline  
Old 01 December 2015, 22:34   #659
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
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.
Lonewolf10 is offline  
Old 01 December 2015, 23:29   #660
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
Quote:
Originally Posted by TenLeftFingers View Post
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
I think the quality doesn't matter as it has to be fully decompressed anyway before it is put into memory and used as the background. Also, I don't think that JPEG supports anything other than 24 bit colors. Convert your picture into a proper 8 color IFF file - it will also take some load off the Amiga and reduce its startup time since it won't have to do much processing of the background image to show it.
demolition is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:55.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14979 seconds with 14 queries