12 January 2019, 21:35 | #21 | ||
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,716
|
Quote:
https://wiki.amigaos.net/wiki/AmigaO...Error_Messages it is: Quote:
|
||
12 January 2019, 21:58 | #22 | |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,716
|
Quote:
As I said, I'm was trying this on a minimal setup - so I didn't have the DEVataTypes folder (and its contents). I added it, but it wasn't still working. But, after you run the AddDataTypes command, it actually started working! This seems to be the case for every reboot - so I assume this is usually added to the startup-sequence? UPDATE: Yes - I see it in the ClassicWB LITE startup-sequence. |
|
13 January 2019, 17:41 | #23 | |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,326
|
Quote:
However, why do you need that special datatype.library? For a basic ARexx environment it is not needed. |
|
13 January 2019, 17:54 | #24 | |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,716
|
Quote:
That was an error on my part. I was searching for a function to get the 'basename' of a filename and found examinedt() and saw that it had a 'basename' stem. I remember wondering at the time why the datatypes library had this, but I was blinkered and kept going. I eventually realised my mistake, but I put this down, as always, to a good learning excercise... I eventually figured out that I could use a combination of the LEFT() and LASTPOS() functions to get what I want: basename = LEFT(filename,LASTPOS(".",filename)-1) |
|
13 January 2019, 18:39 | #25 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,326
|
I don't know if I have mentioned it already but a good source for how doing stuff with ARexx is ARexxGuide: http://aminet.net/search?query=arexxguide
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Minimal startup-sequence for Tinylauncher? | emuola | Amiga scene | 13 | 03 January 2018 14:21 |
C - minimal setup code for drawing graphics | attle | Coders. C/C++ | 3 | 06 February 2017 22:07 |
Minimal config for multiview | jotd | support.Apps | 17 | 14 March 2016 22:38 |
68000 minimal list of opcodes to know | kamelito | Coders. Asm / Hardware | 8 | 28 January 2014 21:43 |
A minimal request | jobro | Amiga scene | 3 | 29 December 2005 03:24 |
|
|