<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2012-Oct-21 12:18 , Programmingkid
wrote:<br>
</div>
<blockquote
cite="mid:21842618-9D4E-429B-A730-CD0961686244@gmail.com"
type="cite">
<pre wrap="">I traced the issue with a function called my_args_copy(). That led me to a forth word called my-args. I'm not sure what this word does, or where it is defined.
</pre>
</blockquote>
<br>
In IEEE1275 (there are also examples in how it's used scattered
throughout the spec).<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div class="page" title="Page 163">
<div class="layoutArea">
<div class="column">
<p><span style="font-size: 10.000000pt; font-family:
'Courier'; font-weight: 700">my-args </span><span
style="font-size: 10.000000pt; font-family: 'Times'">( --
arg-str arg-len ) F 0x202
</span><span style="font-size: 9.000000pt; font-family:
'Times'">Return the </span><span style="font-size:
9.000000pt; font-family: 'Times'; font-style: italic">instance-argument
</span><span style="font-size: 9.000000pt; font-family:
'Times'">string for this instance.
</span></p>
<p><span style="font-size: 9.000000pt; font-family: 'Times'">Return
the </span><span style="font-size: 9.000000pt;
font-family: 'Times'; font-style: italic">instance-argument
</span><span style="font-size: 9.000000pt; font-family:
'Times'">string that was passed to the current instance
(when the current instance was created).
</span></p>
</div>
</div>
</div>
<title>Microsoft Word - 1275.DOC</title>
[...]<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div class="page" title="Page 184">
<div class="layoutArea">
<div class="column">
<p><span style="font-size: 10.000000pt; font-family:
'Courier'; font-weight: 700">set-args </span><span
style="font-size: 10.000000pt; font-family: 'Times'">(
arg-str arg-len unit-str unit-len -- ) F 0x23F
</span></p>
<p><span style="font-size: 9.000000pt; font-family: 'Times'">Set
address and arguments of new device node.
</span></p>
<p><span style="font-size: 9.000000pt; font-family: 'Times';
font-style: italic">unit-string </span><span
style="font-size: 9.000000pt; font-family: 'Times'">is a
text string representation of a physical address within
the address space of the parent device. Translate
</span><span style="font-size: 9.000000pt; font-family:
'Times'; font-style: italic">unit-string </span><span
style="font-size: 9.000000pt; font-family: 'Times'">to the
equivalent numerical representation by executing the
parent instance’s “</span><span style="font-size:
9.000000pt; font-family: 'Courier'; font-weight: 700">decode-unit</span><span
style="font-size: 9.000000pt; font-family: 'Times'">”
method. Set
the current instance’ s </span><span style="font-size:
9.000000pt; font-family: 'Times'; font-style: italic">probe-address
</span><span style="font-size: 9.000000pt; font-family:
'Times'">(i.e., the values returned by </span><span
style="font-size: 9.000000pt; font-family: 'Courier';
font-weight: 700">my-address </span><span
style="font-size: 9.000000pt; font-family: 'Times'">and </span><span
style="font-size: 9.000000pt; font-family: 'Courier';
font-weight: 700">my-space</span><span style="font-size:
9.000000pt; font-family: 'Times'">) to that numerical
representation.
</span></p>
<p><span style="font-size: 9.000000pt; font-family: 'Times'">Copy
the string </span><span style="font-size: 9.000000pt;
font-family: 'Times'; font-style: italic">arg-string </span><span
style="font-size: 9.000000pt; font-family: 'Times'">to
instance-specific storage, and arrange for </span><span
style="font-size: 9.000000pt; font-family: 'Courier';
font-weight: 700">my-args </span><span style="font-size:
9.000000pt; font-family: 'Times'">to return the address
and length of that
copy when executed from the current instance.
</span></p>
<p><span style="font-size: 9.000000pt; font-family: 'Times';
font-weight: 700">NOTE—</span><span style="font-size:
9.000000pt; font-family: 'Courier'; font-weight: 700">set-args
</span><span style="font-size: 9.000000pt; font-family:
'Times'">is typically used just after </span><span
style="font-size: 9.000000pt; font-family: 'Courier';
font-weight: 700">new-device</span><span style="font-size:
9.000000pt; font-family: 'Times'">. </span><span
style="font-size: 9.000000pt; font-family: 'Courier';
font-weight: 700">new-device </span><span
style="font-size: 9.000000pt; font-family: 'Times'">creates
and selects a new device node,
and </span><span style="font-size: 9.000000pt;
font-family: 'Courier'; font-weight: 700">set-args </span><span
style="font-size: 9.000000pt; font-family: 'Times'">sets
its </span><span style="font-size: 9.000000pt;
font-family: 'Times'; font-style: italic">probe-address </span><span
style="font-size: 9.000000pt; font-family: 'Times'">and
arguments. Subsequently, the device node’s properties and
methods are
created by interpreting an FCode program with </span><span
style="font-size: 9.000000pt; font-family: 'Courier';
font-weight: 700">byte-load </span><span
style="font-size: 9.000000pt; font-family: 'Times'">or by
interpreting Forth source code.
</span></p>
<p><span style="font-size: 9.000000pt; font-family: 'Times';
font-weight: 700">NOTE—</span><span style="font-size:
9.000000pt; font-family: 'Times'">The empty string (any
string of zero length) is commonly used as the arguments
for a new device node, for
example: </span><span style="font-size: 9.000000pt;
font-family: 'Courier'">0 0 " 3,2000" set-args
</span></p>
</div>
</div>
</div>
<title>Microsoft Word - 1275.DOC</title>
<br>
</body>
</html>