Re: A85: A question
[Prev][Next][Index][Thread]
Re: A85: A question
Easy. HL points to a variable name in the format (I think):type, length
of name, name. then RST 20 (which is load OP1 with (HL)) then RST 10,
(which is find the variable in VAT). Returns:
Success: CF clear
A = (8082) = Type of the variable found
C = 0
DE = Address of variable
HL = Address of VAT entry for variable
Failure: CF set
8082 is the location of OP1
Pretty easy. Why use VAR_GET(or what ever) when this is just as easy
>From: BSharp81@aol.com
>Date: Sun, 16 Aug 1998 17:30:18 EDT
>To: assembly-85@lists.ticalc.org
>Subject: A85: A question
>Reply-To: assembly-85@lists.ticalc.org
>
>
>How do I access a string that is outside of an ASM program? Any ideas?
Thanks.
>
> Greg Sharp
> bsharp81@aol.com
> Webmaster, <A HREF="http://summit85.home.ml.org">Summit Home Page</A>
> Co-Founder/Webmaster, <A HREF="http://wstech.home.ml.org">Westside
Tech</A>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com