50g group photo

Yahoo Groups archive

50g

Index last updated: 2026-03-30 17:23 UTC

Message

Re: Can the 50g send a calculation result to the active cell of an open Excel file?

2008-03-27 by m2mbob

Thanks for your suggestion!
I'm a bit slow at parsing your syntax - I recognize the << >>
encapsulation of a program string, and I recognize the command XMIT
from the catalogue, but I don't understand ->STR .

Do you mean ->STR literally, as an argument for XMIT ?
Does -> represent the HP-50g keyboard sequence: [right-shift][0] ,
meaning that I should insert the right-pointing arrow ahead of the
three characters STR (thus creating a local variable named STR, and
transmitting its value, all in one elegant line of code)?

In my first feeble attempts (before submitting my initial question to
the group), I had assumed that I would need to build program steps
like:

<< 'STR' STO (grabs the value of
Level 1 of the stack
into variable STR)

XMIT (with baffling argument & syntax) (sends the value of
STR through the wire)

STR PURGE >> (deletes variable STR)

- but I got the error message:
XMIT Error: Bad Argument Type

- which implies, to my neophyte mind, that XMIT won't work when a
variable name is used as the argument.

The old "49g+ Advanced" manual's description of XMIT describes the
required argument as being the string, surrounded by "" .

I just haven't figured out how to write program steps to grab the
value in Stack Level 1, package it in "", and present it to XMIT as
the argument.

Any thoughts? I have a pretty high embarrassment threshold, so fire
away!

My headstone will say: "I Never Shoulda Loaned My 15C To Nobody".


--- In 50g@yahoogroups.com, "Tim Wessman" <timwessman@...> wrote:
>
> Yes. In windows you can set up any device that sends text to the
> computer over a serial device and it parses it like keyboard input.
> Basically, you assign a key to a program like << ->STR XMIT >>.
Then
> when you want to send, press the key.
>
> TW
>

Attachments