06 November 2023, 13:55 | #1 |
Registered User
Join Date: Nov 2009
Location: Top of the world
Posts: 161
|
How is .key /F parameter supposed to work?
I have this script called testp:
Code:
.KEY first/A rest/F ECHO "<first>" ECHO "<rest>" But the command "testp aaa bbb" fails with: EXECUTE: Parameters unsuitable for key "first/A" wrong number of arguments I expected the first ECHO to output the first argument and the second to output all following arguments, if present. What am I doing wrong? |
06 November 2023, 14:22 | #2 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,180
|
https://wiki.amigaos.net/wiki/AmigaO...s#Dot_Commands
https://wiki.amigaos.net/wiki/AmigaO...wing_Arguments comma required between key's. first/a,rest/a |
06 November 2023, 14:45 | #3 |
Registered User
Join Date: Nov 2009
Location: Top of the world
Posts: 161
|
Thank you. I feel stupid now.
|
06 November 2023, 14:54 | #4 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,180
|
haha, I've been there, done that, and still make mistakes today, luckily we have the forums to fix these hiccups
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shapeshifter: how is PrepareEmul supposed to work? | Bren McGuire | support.Apps | 22 | 01 January 2021 11:57 |
Will the PC-Key 600 work with an Amiga 500 | rjd324 | support.Hardware | 8 | 02 July 2020 13:21 |
PortAudio and Asio4ALL, is "pull mode" supposed to work? | Dr.Venom | support.WinUAE | 3 | 07 November 2013 14:09 |
BUG: Mapping the END key does not work | Zyphrus | support.WinUAE | 2 | 19 November 2010 17:26 |
is the HDD led supposed to work when using CF card | Interceptor | support.Hardware | 2 | 25 September 2007 10:14 |
|
|