Search the web
Sign In
New User? Sign Up
arexx · This list is devoted to the powerful Amiga scripting language, ARexx. Here ARexx coders can share ideas, routines and generall
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
how to apply this ARexx command?   Message List  
Reply | Forward Message #3699 of 3728 |
Re: [arexx] how to apply this ARexx command?

Paolo,
 
Just a few questions:
1.  Do you have a link to the forum that states this info?
 
2.  I'm guessing this is for AMBIENT the MorphOS and not Ambient Project which is something completely different?
 
On another note, maybe it's "not officially documented" for a reason....maybe the command was never completely functional.
 
Alex.

 


From: Paolo Germano <pgermano@...>
To: arexx@yahoogroups.com
Sent: Saturday, January 31, 2009 1:14:33 AM
Subject: [arexx] how to apply this ARexx command?

(I have already asked in the appropriate forums related to Ambient, the desktop
of MorphOS, and have received no reply....)

From a script I'm sending a command to the 'AMBIENT' host but I do not receive
the expected result.
I do not understand whether it is matter of pure Arexx technical programming or
something contextual to the host interaction .....

This command is not officially documented but I have found it and his
description from the public sources of Ambient project at SourceForge:

* Command:
* - ViewList
* Synopsis:
* - return view list into a stem
* Parameters:
* - STEM: stem name to store the result to
* Example:
* - ViewList views
* Result:
* - A stem var with the following fields:
* - stem.n: <id,name> pair
* - stem.count: list count
* RC:
* - 0 : Ok
* - 20: Syntax Error

with code:
---------
address 'AMBIENT'
ViewList views
say RC
say views.count
say views.0

I have the results:
------------ ------
0
VIEWS.COUNT
VIEWS.0

so, return code says command was executed without errors but stem remains
uninitialized.

want to help me understand my arexx mistake in order to handle this task??

Thank folks,
paolo




Fri Jan 30, 2009 6:32 pm

yodare
Online Now Online Now
Send Email Send Email

Forward
Message #3699 of 3728 |
Expand Messages Author Sort by Date

(I have already asked in the appropriate forums related to Ambient, the desktop of MorphOS, and have received no reply....) From a script I'm sending a command...
Paolo Germano
musicut
Offline Send Email
Jan 30, 2009
3:14 pm

Hoi Paolo, ... Maybe you have to add the Point too? ViewList views. Or the argument must be given? ViewList STEM views Or both? ViewList STEM views. Sorry,...
Bernd Gollesch
bgollesch
Offline Send Email
Jan 30, 2009
4:00 pm

ciao Bernd, ... done -> RC=0, same negative results ... done -> RC=0, same negative results ... done -> RC=0, same negative results ... thanks anyway for your...
Paolo Germano
musicut
Offline Send Email
Jan 30, 2009
5:11 pm

Hoi Paolo, ... Maybe you have to declare "options results" first? ... I don't know. I think the variables are declared for the script context. So if the REXX...
Bernd Gollesch
bgollesch
Offline Send Email
Jan 30, 2009
5:42 pm

ciao Bernd, ... already tried ... and if so, then there is nothing else more to try, I think..... :-/ thanks to you Bernd, paolo...
Paolo Germano
musicut
Offline Send Email
Jan 30, 2009
6:11 pm

Paolo, Just a few questions: 1.  Do you have a link to the forum that states this info? 2.  I'm guessing this is for AMBIENT the MorphOS and not Ambient...
Alex Tucker
yodare
Online Now Send Email
Jan 30, 2009
6:33 pm

ciao Alex, ... well, now I can consider this eventuality as the most likely. to know for sure I tried to question morphosambient-public@... ...
Paolo Germano
musicut
Offline Send Email
Jan 30, 2009
7:41 pm

Hi Paolo I think the command is not implemented. I can't say that for sure, because I am far from my peg atm. But I can't find anything like "ViewList" in the ...
Alfonso Ranieri
alforan
Offline Send Email
Jan 31, 2009
6:25 pm

ciao Alfonso, :-) ... from MOSSYS:Ambient/docs/changelog.txt: [snip] 22.10.2005 - appclass.c Added RXCMD_ViewList : lists view names/id. Can be useful for rexx...
Paolo Germano
musicut
Offline Send Email
Jan 31, 2009
10:20 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help