🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #787

Re: What is advanced? (was Re: Pascal to Basic converter)

#787
From: Nick Coons
Date: Sun, 16 Feb 1997 00:00
22 lines
1797 bytes
Hi Grant!

> I think you have it backwards.  A pointer is simply the variable to the memory
> location of a variable.  I assume this is common error with Assembly programmers
> because they "mov  destination <----source":-).

	That would depend on what you mean by "pointer."  In most cases, if you
use a variable, then compile that program, you can use a disassembler to
that the variable name has been replaced with a memory address
surrounded by brackets.  In this case, I was right and a variable is a
pointer to memory.

	However, if you mean pointers such as the ones used in C (it's been a
while, but don't they start with an asterisk?), then you would be
right.  Although, an identical result easily be accomplished in
QuickBASIC using VARPTR().

-- 
Nick
nick.coons@juno.com
Tempe, AZ  USA
Technical Details
Message-ID: <3307C4CC.3A21@juno.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bbfc0b$c4f5bf20$86ce75c2@helmi> <5dvf62$egf2@venus.compulink.gr> <33052E37.3999@juno.com> <33054DD3.591A@ix.netcom.com> <33057477.327E@juno.com> <3306381F.4DD5@itctel.com> <33064454.5B7B@juno.com> <01bc1bd1$4c5cdb80$15c07182@dixond.McMaster>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a726,e951608bed6ab1d7
X-Google-Attributes: gid10a726,public
X-Google-Thread: 111659,e951608bed6ab1d7
X-Google-Attributes: gid111659,public
X-Google-Thread: 10ab99,e951608bed6ab1d7
X-Google-Attributes: gid10ab99,public
From: Nick Coons <nick.coons@juno.com>
Subject: Re: What is advanced? (was Re: Pascal to Basic converter)
Date: 1997/02/16
Message-ID: <3307C4CC.3A21@juno.com>
X-Deja-AN: 219282346
References: <01bbfc0b$c4f5bf20$86ce75c2@helmi> <5dvf62$egf2@venus.compulink.gr> <33052E37.3999@juno.com> <33054DD3.591A@ix.netcom.com> <33057477.327E@juno.com> <3306381F.4DD5@itctel.com> <33064454.5B7B@juno.com> <01bc1bd1$4c5cdb80$15c07182@dixond.McMaster>
Content-Type: text/plain; charset=us-ascii
Organization: Dynamic Computer Systems
Mime-Version: 1.0
Reply-To: nick.coons@juno.com
Newsgroups: alt.lang.basic,comp.lang.pascal.borland,fr.comp.lang.pascal
X-Mailer: Mozilla 3.01Gold (Win95; I)